Ex3m1024

- Total activity 16
- Last activity
- Member since
- Following 0 users
- Followed by 0 users
- Votes 6
- Subscriptions 4
-
Created Typescript injection with specifying types
Consider I have this Typescript code, with the class DB imported from a library: class DB { run(query:String) { // implementation }}const db:DB = new DB();db.run("some query code ..."); Is it ... -
Created Injection in Java constructors and annotations for Scala
AnsweredI am trying write a custom language injection rule for an SQL-like language in Scala, and having trouble in two cases: 1) if the language is being injected as a parameter of a constructor of a J... -
Created Editor syntax highlighting without specifying extension
AnsweredIf I create an Editor specifying FileDocumentManager.getInstance().getDocument(ScratchFileService.getInstance().findFile(rootType, "myfile.json")) as the document and new JsonFileType() as fileTyp... -
Created How to obtain scratch file tab name (for a DB connection)
By overriding FileEditorManagerListener.selectionChanged(), I can get the VirtualFile that I currently switched to (any source file opened in a project in IntelliJ IDEA). I use the getName() metho...