简体   繁体   English

我可以阻止Aptana的PDT插件搞乱我的Javascript编辑吗

[英]Can I stop Aptana's PDT plugin from messing with my Javascript editing

I run Aptana 2.0 on Win 7. I normally code HMTL/CSS/JS but the other day I started with a PHP project, so I downloaded the PDT plugin to get proper colorization in .PHP files. 我在Win 7上运行Aptana 2.0。我通常编写HMTL / CSS / JS的代码,但是前几天我开始了一个PHP项目,因此我下载了PDT插件以在.PHP文件中获得正确的颜色。

It works fine, but my problem is that PDT also seems to mess with Javascript editing (applies another colorization scheme that's the same as in PHP files, and code completion doesn't work anymore). 它工作正常,但是我的问题是PDT似乎也与Javascript编辑混乱(应用了另一种与PHP文件中相同的着色方案,并且代码完成不再起作用)。

Has anyone else had this problem? 有没有其他人有这个问题? Is there a fix? 有解决办法吗? Or is there another PHP plugin out there (all I want is proper colorization of the HTML in PHP files...)? 还是那里有另一个PHP插件(我只想对PHP文件中的HTML进行正确的着色...)?

Any tip is appreciated, thanks! 任何提示,不胜感激,谢谢!

/Joolss / Joolss

You can usually edit colors for syntax highlighting on a per plugin basis from the settings panel in Aptana. 通常,您可以从Aptana的设置面板中为每个插件编辑语法突出显示的颜色。 Also, syntax coloring depends on the editor you used to open the file with. 另外,语法颜色取决于您用来打开文件的编辑器。 Try right clicking the file you want to open and pick 'open with editor' and dont pick the php one. 尝试右键单击要打开的文件,然后选择“使用编辑器打开”,而不选择php。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

相关问题 如何防止WordPress更改或弄乱自定义Javascript? - How can I prevent WordPress from altering or messing with the custom Javascript? Eclipse“ aptana插件”与jsdt(JavaScript开发工具); 在哪里可以找到比较表? - Eclipse “aptana plugin” vs. jsdt (JavaScript Development Tools); where can I find a comparison chart? 如何从主题的functions.php更改插件的功能? - How can I alter a plugin's function from my theme's functions.php? 使用Eclipse 3.5 PDT,如何阻止它自动转换 <? into <?php ?> ? - Using Eclipse 3.5 PDT, how do I stop it from automatically converting <? into <?php ?>? 阻止Firefox流水线弄乱我的统计数据的最佳方法 - Best way to stop Firefox pipe-lining from messing up my stats 如何才能使Eclipse PDT仅在CTRL-SPACEBAR上显示我的代码模板? - How can I get Eclipse PDT to only show my code templates on CTRL-SPACEBAR? 无法使PHP PDT xDebug在Eclipse中的断点处停止 - Can not make PHP PDT xDebug to stop at breakpoints in Eclipse Eclipse PDT插件安装 - Eclipse PDT plugin installation 如何阻止我的数据库提交额外的用户? - How can I stop my database from submitting an extra user? 如何阻止Symfony截断我的POSTed对象? - How can I stop Symfony from truncating my POSTed object?
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM