idea怎么调代码格式,intellij idea怎么设置编码方式

1,intellij idea怎么设置编码方式全部设置里 Editor / Colors & Fonts里 面
2,intellij idea怎么设置编码ctrl alt s 弹出设定页面,输入 file encoding,可以设置项目的默认编码,改单个文件的话,打开文件,项目界面右下角有显示当前光标行号列号,右边就是当前文件编码,自己改成想要的类型我就是eclipse转过来的 , intellij idea里面可以设置成eclipse的快捷键风格,可能有些不同 , 按需要自己配置就行了 。设置快捷键 , 打开设置(ctrl+alt+s)搜索keymap【idea怎么调代码格式,intellij idea怎么设置编码方式】
3 , myeclipse怎么设置编码格式1 。全局编码设置:编码设置的方法:ToolBar-->Window-->Preferences-->General-->Workspace-->Text file encoding,设置合适的编码 。2 。局部编码设置:在源码按右键-->General-->Editors-->Test Editors-->Spelling-->Encoding,这里是设置单个文件的编码 。推荐还是使用全局编码设置吧MyEclipse编码设置:Windows-->Preferences-->MyEclipse(Enterprise Workbench)--> Files and Editors-->JSP-->右Encoding->(UTF-8)-->Update文件默认编码设置:Windows-->Preferences-->General-->Content Types, 然后在右边上面的框中打开Text, 选中Java Source File (你看到下面的框中有个*.java 就对了),然后在下面的“Default edcodng”文本框中输入“UTF-8”, 点“Update”,就OK了 。(什么文件的编码都可以在这里设置!) 其它的Edit-SetEnCoding 和Project-->Properties-->Resource-->Text File Encoding设置成继承自容器就可以了 。3 。Window-Preferences-General-Content Types-Text-Java Source File-UTF-8方法一:打开myeclipse,windows---->preferences打开"首选项"对话框 。左侧导航,导航中找到general---->workspace 。右侧窗口text file encoding,选择other,改变为utf-8 , 以后新建立工程其属性对话框中的text file encoding即为utf-8.点击“ok”保存 。方法二:打开myeclipse,windows---->preferences打开"首选项"对话框 。左侧导航 , 导航到general---->content types , 右侧context types窗口,点开text树中每一颗子项,并在中输入"utf-8",点“update ”更新 。其它的如:java properties file、javascript等已经由eclipse缺省指定 。若开发中需要 ,  改变编码格式 。

    推荐阅读