Netbeans CSS自动格式 [英] Netbeans CSS auto format

查看:232
本文介绍了Netbeans CSS自动格式的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

在Netbeans 6.9.1(PHP bundle)中,代码格式( ALT + SHIFT + F )似乎无法正常工作CSS文件,那是当我尝试运行它没有什么发生。

解决方案

我在我的版本的Neatbeans中检查了它(也是6.9.1)



如果它不能为你工作,也许你需要检查你的键盘映射设置。



为此,请点击工具




  • 选择选项


  • 选择键映射标签

    确保您获得以下信息:



    <$>

    p $ p> Actions = Format

    Shortcut = Alt + Shift + F

    Category = Source


  • 同时检查您的选项卡和缩进是否在选项的编辑器部分面板。



    希望有帮助,
    Tom


    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?

    解决方案

    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

    这篇关于Netbeans CSS自动格式的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

    查看全文
    登录 关闭
    扫码关注1秒登录
    发送“验证码”获取 | 15天全站免登陆