Dreamweaver 5.5 中使用 CSS 进行代码提示
我目前正在使用 Dreamweaver 5.5 的试用版,希望能够更好地了解该程序的优点。我之前使用过 Aptana Studio 3 几天,可能得出的结论是,在实际的 HTML/CSS 编码方面,它比 Dreamweaver 更好。
我的问题或我需要的建议是,我目前正在关注一些有关 CSS 的 Lynda 培训视频,并且练习文件使用
标签将 CSS 直接嵌入到 HTML 页面中。在 Aptana 中,我在尝试通过类/ids 获得“代码辅助”时遇到困难,但现在在 Dreamweaver 中,我什至不知道该选项是否可用。当编写简单的 CSS 规则时,什么也没有显示(假设我在主编码窗口旁边没有打开任何窗口)。有没有办法在键入 .
或 #
时甚至在类似于 span:
的冒号之后获得某种代码提示?
作为一个可选的附带问题,您会推荐哪种 HTML/CSS 编辑器,使“编码员”比“视觉设计师”受益?
I am currently using the trial version of Dreamweaver 5.5 to be able to - hopefully - get a better understanding of the benefits of this program. I had previously used Aptana Studio 3 for a couple days and may have come to the conclusion that it is better than Dreamweaver at actual HTML/CSS coding.
My problem, or advice I need, is that I'm currently following some Lynda training videos on CSS and the exercise files have the CSS embedded directly into the HTML page using the <stlye>
tags. In Aptana I was having difficulties trying to get "code assist" with classes/ids, but now in Dreamweaver I don't even know if that option is available. When writing simple CSS rules nothing is showing up (granted I do not have any windows open beside the main coding window). Is there a way to get some sort of code hinting when typing a .
or #
or even after the colon in something similar to span:
?
As an optional side question, what HTML/CSS editor would you recommend that would benefit the "coder" over the "visual designer"?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
您将看到 CSS 规则和 HTML 的代码提示,而不是您指定的类和 ID。一旦你开始编写 CSS,你就会看到代码提示。
所以写作
不会给你任何提示。这会给你提示:
它将给你一个选择器列表。现在,当您开始编写规则时:
当您键入第一个字母时,您将立即获得特定的代码提示。
You will see code hinting for CSS rules and HTML, not classes and ID's that you have specified. Once you start writing the CSS you will see the code hinting.
so writing
will not give you any hints. this will give you hint:
It will give you a list of selectors. Now when you start to write the rule:
You will get your specific code hinting right away when you type the first letter.