I'm using Eclipse as an IDE for Ruby/Rails development (using Aptana plugin). I have one very, very large file that encompasses an initial data load of several thousand rows of data. When this file is open, everything grinds to a halt (on both Windows and Linux), presumably because Eclipse is tied up trying to parse and format/syntax-check the file. Typing in a single word takes upwards of a minute to complete.
我正在使用Eclipse作为Ruby / Rails开发的IDE(使用Aptana插件)。我有一个非常非常大的文件,其中包含数千行数据的初始数据加载。当这个文件打开时,一切都会停止(在Windows和Linux上),可能是因为Eclipse试图解析并格式化/语法检查文件。输入一个单词需要一分钟才能完成。
Is there a way for me flag this file in such a way that Eclipse will skip it for format/syntax checking?
有没有办法让我以这样的方式标记这个文件,Eclipse会跳过它进行格式/语法检查?
2 个解决方案
#1
1
In the Navigator, right-click on the file and selecting Open With -> Text Editor. This will cause the file to be opened as plain text every time it is accessed.
在导航器中,右键单击该文件,然后选择打开方式 - >文本编辑器。这将导致文件每次访问时都以纯文本形式打开。
#2
1
You can try to put all your files except the large one into a working set, and then make that working set the default one.
您可以尝试将除大文件之外的所有文件放入工作集中,然后将该工作集设置为默认文件。
#1
1
In the Navigator, right-click on the file and selecting Open With -> Text Editor. This will cause the file to be opened as plain text every time it is accessed.
在导航器中,右键单击该文件,然后选择打开方式 - >文本编辑器。这将导致文件每次访问时都以纯文本形式打开。
#2
1
You can try to put all your files except the large one into a working set, and then make that working set the default one.
您可以尝试将除大文件之外的所有文件放入工作集中,然后将该工作集设置为默认文件。