Community
Participate
Working Groups
It should be cool if generic editor could provide the "org.eclipse.ui.genericeditor.characterPairMatchers" extension point to contribute with IcharacterPairMatcher to manage matching brackets. Here a sample with TM4E language configuration: ----------------------------------------------------------------- <extension point="org.eclipse.ui.genericeditor.characterPairMatchers"> <characterPairMatcher class="org.eclipse.tm4e.languageconfiguration.LanguageConfigurationCharacterPairMatcher" contentType="org.eclipse.core.runtime.text"> <enabledWhen> <with variable="editor"> <test property="org.eclipse.tm4e.languageconfiguration.hasLanguageConfiguration" forcePluginActivation="true"> </test> </with> </enabledWhen> </characterPairMatcher> </extension> ----------------------------------------------------------------- I had started something, if you like the idea, I will clean my code and create a gerrit patch.
New Gerrit change created: https://git.eclipse.org/r/127756
This is a new feature and we are not in feature freeze for 4.9. This will get in 4.10 as early as possible. In the meantime, downstream plugin can start consuming the extension point as it it were already available. As it requires no new class, it won't cause any bug.
(In reply to Mickael Istria from comment #2) > This is a new feature and we are not in feature freeze for 4.9. > This will get in 4.10 as early as possible. In the meantime, downstream > plugin can start consuming the extension point as it it were already > available. As it requires no new class, it won't cause any bug. Actually, I double checked and the API/Feature freeze is next week. I'm merging the patch.
Gerrit change https://git.eclipse.org/r/127756 was merged to [master]. Commit: http://git.eclipse.org/c/platform/eclipse.platform.text.git/commit/?id=762fdeb324379150150e696639fd967baee29b97
Patch merged, thanks Angelo. Please also submit a change to the N&N before we can mark it as resolved.
New Gerrit change created: https://git.eclipse.org/r/127986
@Mickael please merge my very simple gerrit patch https://git.eclipse.org/r/127986 because I have intriduced a bug (ex: Refactorings menu contextual is not available)
Gerrit change https://git.eclipse.org/r/127986 was merged to [master]. Commit: http://git.eclipse.org/c/platform/eclipse.platform.text.git/commit/?id=35510e6f4d734fc4d272f8f4de796be5150f0852
New Gerrit change created: https://git.eclipse.org/r/128020
> Please also submit a change to the N&N before we can mark it as resolved. Done with https://git.eclipse.org/r/#/c/128020/
Thanks. This also needs to be added to the documentation bundles like other extension points.
Gerrit change https://git.eclipse.org/r/128020 was merged to [master]. Commit: http://git.eclipse.org/c/www.eclipse.org/eclipse/news.git/commit/?id=431e8f805f906d66bbc87fba235d7c1c8e3022f3
(In reply to Mickael Istria from comment #11) > Thanks. This also needs to be added to the documentation bundles like other > extension points. Currently the reference doc is completely missing for the generic editor. Filed bug 538238 to track that.
Where are we with this? Are we done for RC1?
I'm keeping the bug open to track documentation, but yes, the feature is in RC1.
New Gerrit change created: https://git.eclipse.org/r/128283
Doc added
Gerrit change https://git.eclipse.org/r/128283 was merged to [master]. Commit: http://git.eclipse.org/c/platform/eclipse.platform.common.git/commit/?id=c728a879001e6a633fac6a38f4e5ec45ae7d438d