Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Newcomers » Newcomers » How to set the running editor behavior from my plugin?
How to set the running editor behavior from my plugin? [message #789725] Fri, 03 February 2012 10:27
H Xu is currently offline H XuFriend
Messages: 1
Registered: February 2012
Junior Member
I'm developing a plugin and I need to set the behavior of the running editor, such as the tab size, the indent size, etc.

Something like the following could modify the global preference:

IPreferenceStore s = new ScopedPreferenceStore(new InstanceScope(), "org.eclipse.ui");
ss.setValue("SHOW_MEMORY_MONITOR", true);


However, I need to make it local to current buffer. Is it possible to do so?

Thanks!

[Updated on: Fri, 03 February 2012 11:14]

Report message to a moderator

Previous Topic:Click on Run launching error
Next Topic:Help! Content Assist disappears
Goto Forum:
  


Current Time: Sun Jun 20 16:40:34 GMT 2021

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

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

Back to the top