Tim
- Total activity 49
- Last activity
- Member since
- Following 0 users
- Followed by 0 users
- Votes 3
- Subscriptions 13
-
Created PsiElement getProject performance
AnsweredOn the page with performance tips it is stated that the getProject() method on a PsiElement runs up the entire PsiTree. However, when I look at the code it appears that the PsiManager it used to ob... -
Edited Rename / FindUsage for 'adhoc' declaration
AnsweredI'm having a issue getting the refactor-rename mechanism to pop-up for the following scenario: The plugin is extending the YAML language and I'm creating a declaration using a sequence, then at ano... -
Edited StubIndex not Indexing injected PsiFile
AnsweredI have created a plugin which contains a custom language (odt) which can exist in .odt files or it can be injected at specific locations in another language (omt). OMT is a YAML flavor that impleme... -
Created Processing part of a YAML file with specific lexer and parser
AnsweredI have a language that is embedded by YAML for the general structure but scalars should be processed with the DSL. However, only when they are located at a specific position in the YAML file. myPro... -
Created Use scope for ImplementationSearcher
AnsweredI have succesfully implemented a definitionsScopeSearch that returns the implementations of specific PsiElements. I was trying to controle the SearchScope via the PsiElement.getUseScope on the elem... -
Created DummyIdentifier and CompletionContributor order
AnsweredI'm having an issue with the way things are processed by the CompletionContributors: I have 2 distinct CompletionContributors, the first one (A) works well with the default dummy identifier, the se... -
Created Set filetype association for LightJavaCodeInsightFixtureTestCase
AnsweredI have succesfully created an extension that creates references from 'Angular HTML Template' elements to my DSL. When I want to unit-test these references the fixture always considers the file a Pl... -
Created Angular2 HTML vs HTML PsiReferenceRegistrar
AnsweredI'm having an issue creating a reference from an Angular2 HTML template into my DSL. I have a PsiReferenceRegistrar that can succesfully create a reference and resolve it when the language is plain... -
Created Completion replacement with symbols
AnsweredI'm using code-completion to suggest a set of commands for my DSL. However, the language requires a command to be prefixed with the AT @ symbol. This gives some unexpected behavior in the completio... -
Created ReferencesSearch over Modules
AnsweredI have implemented a FindUsagesHandlerFactory that is used to find usages from a specific class in 2 different languages (both languages are part of the plugin). Everything works fine except it won...