- This topic has 18 replies, 3 voices, and was last updated 20 years, 4 months ago by fmerenda.
-
AuthorPosts
-
fmerendaMemberI can’t figure out how to open a .css file in the css editor. I’ve created new files ending in .css, opened existing .css files and all. I know I’ve got to be missing something simple, but this is the only feature I can’t seem to get working.
I have tried the 3.8 beta 1 and 2 releases of MyEclipse, on both windows xp and linux (Fedora Core 2).
org.eclipse.pde plugin number =8 on the Windows box.
the plugin version for MyEclipse is 3.7.200 on the windows box.
JDK 1.4.2_05 b4 on the windows machine
There’s no errors in the log.
Thanks!
-Frank
Scott AndersonParticipantFrank,
The default editor probably isn’t set correctly. You can navigate to Window > Preferences > Workbench > File Associations and select .css. Make sure the MyEclipse CSS Editor is set as your default and you should be fine. Also, you should be able to right click on a .css file and select Open With… to use our editor.
fmerendaMemberScott,
I tried to change my settings, but I do not have a “MyEclipse CSS editor” listed. I’ve got several other MyEclipse editors listed, though. There are two plugins installed in my MyEclipse plugin directory, com.genuitec.sourceforge.csseditor_3.7.101 and com.genuitec.sourceforge.csseditor_3.7.200. It’s also listed in the about eclipse plugins section. Any ideas?
Thanks in advance,
-Frank
Riyad KallaMemberFrank, its just called “CSS Editor”, we will fix that in the GA release hopefully, sorry for the confusion.
Riyad KallaMemberFrank, post if you run into any more problems.
fmerendaMemberSorry for the delay in responding. I just figured out the fix I needed.
I had no css editor listed for the type of .css, and could not add it since it was not listed.
I deleted the file association for type *.css. I then re-added it as a new association. I could then associate it with the CSS editor.
This was for both machines, windows and linux.
After that, CSS files open in a plain text editor. there’s nothing else there. Am I missing something else? I also restarted eclipse with no changes. I also checked to open with css editor, and it’s still opening with a plain text editor.
-Frank
fmerendaMemberJust a followup so I get a email notification when a reply is posted. I forgot to check that box before. 🙂
Scott AndersonParticipantFrank,
First, ensure you set the CSS Editor as the default on the editor mappings preference page. Second, Eclipse will remember the last editor you used to open a file as a convenience to allow easy file-by-file overrides. So, if you opened some CSS files with the text editor you’ll likely have to do Open With… > CSS Editor the first time you use them again.
fmerendaMemberI have checked and retried with the instructions to open with the CSS editor, but it’s still a no-go. I have no idea how to get this to work. All the other editors work perfectly, and I honestly have had no other problems with any of the other functions, just the CSS editor (on both installs).
Anything else I can try?
Thanks again for your help,
-Frank
Riyad KallaMemberWhat is the build id of your release of Eclipse? (Help > About should show it)
fmerendaMembermy build id is:
200406251208
Riyad KallaMemberHmm looks good to me… I can’t imagine why you can’t find the editor at all… does your log file say anything about errors loading that plugin maybe? If you right right clicking on your css file, what options do you have listed under “Open With”?
fmerendaMemberRiyad,
The other options I have under open with are:
Text editor
System editor
Default editorTHere’s nothing sticking out in the log files. They are only older messages.
-Frank
Scott AndersonParticipantI deleted the file association for type *.css. I then re-added it as a new association. I could then associate it with the CSS editor.
So, you’ve added the association manually, set it as the default, and it still doesn’t show up in the Open With… list? Do you have any other plugins installed in addition to MyEclipse?
fmerendaMemberScott,
I have the Spring-IDE plugin as well as the Log4E plugin installed. That’s all.
I had this problem before I installed the SpringIDE plugin.
If we can’t figure this out soon I will just not use the CSS plugin and try it again with the next beta. I don’t want to use up too much of your time in suport with it.
Thanks,
-Frank -
AuthorPosts