• 请不要在回答技术问题时复制粘贴 AI 生成的内容
honglonglong
V2EX  ›  程序员

用eclipse作android开发环境,如何默认用text editor打开xml文档?

  •  
  •   honglonglong · Mar 14, 2011 · 7588 views
    This topic created in 5545 days ago, the information mentioned may be changed or developed.
    我最近刚接触android,发现我每次新建了xml文件,eclipse都默认用一个视图editor打开xml,然后我每次都要手动修改open with改成用纯文本编辑器打开这个文件。eclipse有没有什么设置可以让所有新建xml默认都用纯文本编辑器打开?
    谢谢了。。。
    6 replies    1970-01-01 08:00:00 +08:00
    pepsin
        1
    pepsin  
       Mar 14, 2011
    这个问题我也遇到了,同求。。。目前都是直接用NotePad++修改完再开Eclipse弄
    jeeson
        2
    jeeson  
       Mar 14, 2011
    Menu -> Window -> Preferences -> General -> Editors -> File Associations

    设置XML的缺省编辑器
    honglonglong
        3
    honglonglong  
    OP
       Mar 14, 2011
    @jeeson 大大感谢!! @pepsin 也来看看
    pepsin
        4
    pepsin  
       Mar 14, 2011
    @jeeson 谢谢啦
    ch_linghu
        5
    ch_linghu  
       Mar 14, 2011
    你们都没发现eclipse编辑器下方有分页按钮,可以切换可视化模式和文本模式的吗?
    pepsin
        6
    pepsin  
       Mar 14, 2011 via Android
    @ch_linghu 主要是每次切换很麻烦阿
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Solana   ·   2664 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 35ms · UTC 15:32 · PVG 23:32 · LAX 08:32 · JFK 11:32
    ♥ Do have faith in what you're doing.