Home
IDEs Support (IntelliJ Platform) | JetBrains
Contact Support
Community
Sign in
Alexander Zolotov
Total activity
721
Last activity
November 01, 2023 08:52
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 (480)
Sort by recent activity
Recent activity
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
Created
November 14, 2016 15:01
Official comment
Hi Eugene, It's hard to answer without knowing a real problem you're trying to solve and without knowing the context where you're going to change the language of a created editor. Likely you want t...
Community
IntelliJ IDEA Open API and Plugin Development
Is it possible to change the Editor language / content type dynamically?
0 votes
Created
November 13, 2016 16:42
Official comment
Hi Jechlin, Please try `intellij.plugins = ["Groovy"]` instead. > I could not get 1.10.0 to work, it showed no intellij tasks at all. Cannot help with this. Please file an issue with details an...
Community
IntelliJ IDEA Open API and Plugin Development
using plugin classes with gradle build
0 votes
«
First
‹
Previous
Next
›
Last
»