I've recently started developing with Kivy using Eclipse. I'd like to add some basic syntax coloring for .kv file-types. I've tried googling how to do this but nothing came up. This could also be handy for other filetypes not normally recognized by eclipse.
In my case I wanted that eclipse recognize .fo (Apache FOP, a XML FileType) extensions. It means use XML editor to open .fo
I use the next steps in eclipse-kleper:
Window -> Preferences -> General -> Editors -> Content Types
Then in fisrt box
Text -> XML -> XML Schema File -> Add... -> *.fo (in dialog box)
If Kivy files has a known structure by editor it should work.
I hope it helps you.
Related
I researched this problem but all the tutorials I found didn't work for me. Probably because I couldn't find a single one that was dedicated to Windows users?
I am having trouble to spell check my current latex document in texlipse. I downloaded the en.dict here (http://sourceforge.net/projects/texlipse/files/dictionaries/) put it into some folder and pointed the texlipse spell checker to that folder (just the folder. the file itself wasn't shown in the eclipse browser) under Windows -> Preferences -> Texlipse -> Spell Checker -> Directory for main dictionaries. Furthermore I enabled latex spell checking under ... -> General -> Editors -> Text editors -> spelling.
Then I set up the project again to make sure it is set to "en" as the projects language, but still. nothing gets highlighted and if I click on latex -> Spell check, I get the error:
running: null
Error running spell checker
I am so sorry for posting this question. In the moment I posted it, I went back to Eclipse and I saw the first highlighted words... Guess it works now :/
I made a custom theme for coloring php code in Eclipse 3.8. The problem is that all files on the remote server are with .x extension, not with .php extension and the theme doesn't recognize them as php files and the coloring doesn't work. Does anybody know a work around for this problem. How can i tell eclipse to read files with .x extenstions as .php files ? Thank you
Open preferences and go to General=>Editors=>File Associations. In the above list add a new entry *.x and for that entry add your php editor in the second list.
Go in your menu Window -> preferences.
Select then General -> Editors -> File associations
Add your .x extention (above) if it doesn't exist and then associate the PHP editor (underneath).
I'm using the force.com (Salesforce) plugin in Eclipse.
Is there a way forcibly turn off autocomplete? (Typing a quote makes the end pair automatically appear. This drives me crazy)
In eclipse I can turn this off for individual languages but the preferences > force.com section doesn't expose this. I'd be happy if autocomplete was forcibly turned off everywhere.
What you're looking for is in the "Editor" preferences (search for editor and then look for Typing below the editor of your language).
For Java, that would be Java -> Editor -> Typing -> Automatically close.
A few days ago it was just fine. I haven't made any change to the IDE or anything else in the preferences.
Looks like random instability, but I hope I'm wrong, I don't want to go through the IDE setup again.......
Here are two screenshots to tell the story:
Before Ctrl+Shift+F (format):
After (format results):
What can I do about it?
I've tried comparing settings in another Eclipse setup that I have which has XML formatting working properly. (Window -> Preferences -> XML -> XML Files -> Editor). Also (Structured Text Editors).
Solved.
It looks like "Android Common XML Editor" took over, and the above crappy formatting belongs to it.
All I had to do is right click on the XML file and choose Open With -> XML Editor.
You can revert the default editor for XML files to be the original XML Editor at Preferences / General / Editors / File Associations:
How do I get Aptana to recognize .jspf files?
I'd like to have syntax highlighting for .jspf files. I'm sure there's a preference/config option or an xml file to edit, but I'm not finding it.
I assume it's similar to the eclipse process, so I'm tagging eclipse, too. If it's not, I'll remove the tag.
I hope this is what you mean but you can set your file assosiations in Eclipse usually like this (and yes, Apatana is Eclipse based so it should work the same way):
Window -> Preferences
Then
General -> Editors -> File Associations
Select *.jspf and move or add the Aptana Editor you want to use by default.