Self-replacing "tags"(?) on save or build. [message #755065] |
Mon, 07 November 2011 09:21 |
Ruben Goethals Messages: 11 Registered: November 2009 |
Junior Member |
|
|
Hello everyone,
I have been searching for hours, but probably with the wrong search terms. So I'll call it "tags" for now, but might be wrong.
What I'd like, is that, before building (or after saving), certain "tags" in my content are automatically replaced.
Example -> In my file I have the following:
var version = 1.1.@versionqualifier@ Now I need that @versionqualifier@ changes into a certain sequential number before I build (or after saving).
I would like to have this feature in any editor type (just as task tags work in any editor/perspective/file type).
Anyway, anyone knows if this is possible with eclipse (plugins)?
Note:
In the above example there might be a fault for save-replacing, because once @versionqualifier@ is replaced, the tag itself is gone, and the next time I save it won't be replaced anymore. But I want it to change every time! So maybe something as following is needed:
var version = 1.1.1230 //@versionqualifier:1230@ With building this wouldn't but could be necessary, depending how it's done.
I prefer it's done on building, but just in case.
Thanks!!!!!!
|
|
|
|
|
Powered by
FUDForum. Page generated in 0.08862 seconds