Skip to main content



      Home
Home » Eclipse Projects » Eclipse Platform » Importing coding style xml programatically
Importing coding style xml programatically [message #293766] Fri, 28 October 2005 13:27
Eclipse UserFriend
Hello
I'm trying to programatically import a code style already created. How can I do this through the API? I currently am setting the code style for a project using

Hashtable options = JavaCore.getDefaultOptions();

options.put(JavaCore.FORMATTER_NEWLINE_OPENING_BRACE,
JavaCore.INSERT);
......

// Set the new options
jProject.setOptions(options);

It would be nice to skip having to set all these options individually when the code style already exists. Please let me know if someone's tried this....

Thanks
Amit
Previous Topic:Adding copy/paste and undo/redo to toolbar
Next Topic:Adding Help to a Product
Goto Forum:
  


Current Time: Thu May 22 18:02:53 EDT 2025

Powered by FUDForum. Page generated in 0.03169 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top