Netbeans CSS auto format

筅森魡賤 提交于 2019-12-22 09:21:31

问题


In Netbeans 6.9.1 (PHP bundle) the code format (ALT+SHIFT+F) doesn't seem to work on CSS files, that is when I try to run it nothing happens. Is it normal or am I missing something?


回答1:


I've check it in my version of Neatbeans (Also 6.9.1) and it seems to work fine.

If it's not working for you, perhaps you need to check your Keymap settings.

To do so,

  1. click Tools

  2. Choose Options

  3. Select the Keymap tab

  4. Perform the Alt+Shift+F keymap in the "Search in shortcuts" input field

  5. Make sure you get the following:

    Actions = Format
    
    Shortcut = Alt+Shift+F
    
    Category = Source
    

Also check that your tabs and indents are setup in the Formatting tab under the Editor Section of the Options panel.

Hope that helps, Tom



来源:https://stackoverflow.com/questions/5640592/netbeans-css-auto-format

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!