Darkyenus / glsl4idea

A GLSL language plugin for IntelliJ IDEA
GNU Lesser General Public License v3.0
101 stars 31 forks source link

Version and stage should be parsed/inferred #40

Open AbigailBuccaneer opened 9 years ago

AbigailBuccaneer commented 9 years ago

At some point we're going to have to recognise the version and stage of a GLSL file. I know it's somehow possible to add those little drop-down menus to the bottom right of the IDE (eg. the Git plugin does it for the current branch, plus there's one for line endings and charset). I think it'd be good to detect it and populate menus down there so they can be manually changed if needed. I have no idea how to do this.

AbigailBuccaneer commented 9 years ago

I've been somewhat looking into this - it should suffice to add version information to GLSLFile, and if you want to be fancy with the status bar then com.intellij.openapi.wm.impl.status.EditorBasedWidget is the place to look.

AbigailBuccaneer commented 9 years ago

Also, a com.intellij.ide.projectView.ProjectViewNodeDecorator might be useful if you wanted to annotate the project tree with version and stage info?

Darkyenus commented 9 years ago

I will not have time to work on this as I thought I would.