Home
IDEs Support (IntelliJ Platform) | JetBrains
Submit a request
Community
Sign in
Alexander Zolotov
Follow
New articles and posts
New articles, posts, and comments
Total activity
720
Last activity
August 05, 2020 07:18
Member since
April 05, 2011 22:39
Following
0 users
Followed by
0 users
Votes
0
Subscriptions
241
Activity overview
Articles (0)
Posts (0)
Comments (479)
Sort by recent activity
Recent activity
Votes
Created
November 22, 2016 17:45
Subclasses must be referenced via "$" in plugin.xml: <lang.substitutor implementationClass="org.mule.tooling.lang.dw.editor.WeaveEditor$WeaveIOSubstitutor"/>
Community
IntelliJ IDEA Open API and Plugin Development
Is it possible to change the Editor language / content type dynamically?
0 votes
Created
November 22, 2016 17:13
I cannot say anything by class name of exception. Stacktrace, content pluign.xml, content of your LanguageSubstitutor class might be helpful
Community
IntelliJ IDEA Open API and Plugin Development
Is it possible to change the Editor language / content type dynamically?
0 votes
Created
November 22, 2016 16:35
You still can store the mapping between file and target language somewhere and read this mapping in a language substitutor.The easiest way to do it is to store the language selected by The easiest ...
Community
IntelliJ IDEA Open API and Plugin Development
Is it possible to change the Editor language / content type dynamically?
0 votes
Created
November 22, 2016 16:28
I'd recommend you to read the code of IntelliJ platform and debug all things that you're trying to do. For example, take a look at https://github.com/JetBrains/intellij-community/blob/master/platfo...
Community
IntelliJ IDEA Open API and Plugin Development
Is it possible to change the Editor language / content type dynamically?
0 votes
Created
November 22, 2016 16:15
So have you implemented language substitutor or not?
Community
IntelliJ IDEA Open API and Plugin Development
Is it possible to change the Editor language / content type dynamically?
0 votes
Edited
November 22, 2016 15:50
Oh, sorry, it seems you changed the language. > So my question remains, how do I change the file type of a VirtualFile on the fly? There is no way. VitualFile#getFileType has nothing to do with a l...
Community
IntelliJ IDEA Open API and Plugin Development
Is it possible to change the Editor language / content type dynamically?
0 votes
Created
November 22, 2016 15:46
Hi Eugene, It's not supposed to invoke LanguageSubstitutors.INSTANCE.substituteLanguage manually unless you do this from some FileViewProvider. You should implement your own LanguageSubstitutor ext...
Community
IntelliJ IDEA Open API and Plugin Development
Is it possible to change the Editor language / content type dynamically?
0 votes
Edited
November 14, 2016 17:37
Details needed. Have you tried to debug it? Does the language substitutor handle file correctly and select proper language?
Community
IntelliJ IDEA Open API and Plugin Development
Is it possible to change the Editor language / content type dynamically?
0 votes
Created
November 14, 2016 17:21
> From the LanguageAction code it seems like every time the language is changed, a new file is created, is that correct? Indeed, looks like that particular example is not the best one. Couldn't fin...
Community
IntelliJ IDEA Open API and Plugin Development
Is it possible to change the Editor language / content type dynamically?
0 votes
Created
November 14, 2016 17:03
> I did figure out the syntax highlighting part, but formatting, folding and validation still don't work as expected. I think that file reparsing will help (FileContentUtilCore#reparseFiles), but i...
Community
IntelliJ IDEA Open API and Plugin Development
Is it possible to change the Editor language / content type dynamically?
0 votes
«
‹
28
29
30
31
32
33
34
35
36
37
38
›
»