Commit graph

2095 commits

Author SHA1 Message Date
Timotei Dolean
ca1ac3fca1 eclipse plugin: Rework the 'getContainers' method...
...to adapt to the new grammar
2011-07-16 20:59:17 +00:00
Timotei Dolean
8d8f27b43f eclipse plugin: Fix faulty 'if' 2011-07-16 20:59:06 +00:00
Timotei Dolean
e46bed8e9d eclipse plugin: Reorganize the WML Utils class...
...and cleanup the WMLUtil toString code for WML node model
2011-07-16 20:58:56 +00:00
Timotei Dolean
239a0f7d33 eclipse plugin: Remove unnecessary classes 2011-07-16 20:58:45 +00:00
Timotei Dolean
ae3f8ca4bf eclipse plugin: Rework the closing end tag
autoedit Strategy
2011-07-16 20:58:36 +00:00
Timotei Dolean
1a9e13b1f3 eclipse plugin: Rework the entire Highlight...
...start/end tag strategy. It now uses a non-hacky method of achieving
it.
2011-07-16 20:58:25 +00:00
Timotei Dolean
9698d5bf39 eclipse plugin: Color '~' as macro call and '+' as tag name 2011-07-16 20:58:15 +00:00
Timotei Dolean
b044e12ce3 eclipse plugin: Fix the hyperlink helper: previous...
...code didn't take in account that previousSibling returns the AST's
previous node .
2011-07-16 20:58:05 +00:00
Timotei Dolean
1fcf75d7fb eclipse plugin: Replace the '\\' with '/' path separators...
...before returning the path
2011-07-16 20:57:55 +00:00
Timotei Dolean
720a70edfc eclipse plugin: Rework a bit the Hyperlink Helper...
...to conform to the new node model
2011-07-16 20:57:44 +00:00
Timotei Dolean
5b4d5addc7 eclipse plugin: Make an EObjectAtOffsetHelper instance...
...singleton so it can be accessed from all places without
the need to instantiate. Also refactor the getActiveFile
method to let it get the editor as parameter.
2011-07-16 20:57:34 +00:00
Timotei Dolean
3535576918 eclipse plugin: Tweak the WMLDocHandler for xtext 2.0 2011-07-16 20:57:24 +00:00
Timotei Dolean
82e987e49e eclipse plugin: Tweak the folding for the preprocessor directives 2011-07-16 20:57:11 +00:00
Timotei Dolean
63eb1c3dea eclipse plugin: Prevent a NullPointerException when...
...there is no selected install
2011-07-15 21:09:48 +00:00
Timotei Dolean
7f61ee7a0d eclipse plugin: Fix the setupWorkspace, by using...
...the default install instead of the null one
2011-07-15 21:09:38 +00:00
Timotei Dolean
b65bdd08dd eclipse plugin: Fix the indentation of the message 2011-07-15 21:09:29 +00:00
Timotei Dolean
f9eead0b01 eclipse plugin: Update the dependencies 2011-07-15 21:09:19 +00:00
Timotei Dolean
89e0d88b1c eclipse plugin: Migrate the rest of code to the new node model 2011-07-15 21:09:09 +00:00
Timotei Dolean
359d2e3b4f eclipse plugin: Mention xtext 2.0 upgrade 2011-07-15 21:08:58 +00:00
Timotei Dolean
89348b052e eclipse plugin: Remove obsolete code 2011-07-15 21:08:49 +00:00
Timotei Dolean
530ca4265a eclipse plugin: Migrade the FoldingRegionProvider as well 2011-07-15 21:08:38 +00:00
Timotei Dolean
0913e25cfc eclipse plugin: Set the default string as default EOL value as well. 2011-07-15 21:08:28 +00:00
Timotei Dolean
493f26fdd8 eclipse plugin: More migration: remove the...
...dependency on the now non-existing bracket matching class, and use
the JFace's CharacterPairMatcher.  Still needs rework
2011-07-15 21:08:17 +00:00
Timotei Dolean
948399d4a7 eclipse plugin: Use the new methods and classes...
...instead of the old node model's ones
2011-07-15 21:08:06 +00:00
Timotei Dolean
2b36faa0ff eclipse plugin: Migrate the remaining old-node model...
...class names to the new interfaces
2011-07-15 21:07:55 +00:00
Timotei Dolean
e06e64fb44 eclipse plugin: Migrate to the new warning()...
...and error() method signatures
2011-07-15 21:07:44 +00:00
Timotei Dolean
8052a99c4b eclipse plugin: IAntlrParser -> IParser.
Some functionality is changed too much, so left out a method
unimplemented for now
2011-07-15 21:07:34 +00:00
Timotei Dolean
5f7e15624c eclipse plugin: Switch to the new interface for xtext 2.0 2011-07-15 21:07:25 +00:00
Timotei Dolean
bf6cdd7454 eclipse plugin: Run pdflatex 2 times instead of 1...
...so the TOC gets generated aswell.
2011-07-15 21:07:15 +00:00
Timotei Dolean
76134565a8 eclipse plugin: Update the renamed classes to use interfaces instead 2011-07-15 21:07:04 +00:00
Timotei Dolean
8e81665f3b eclipse plugin: Update AutoEdit Strategy to the new one 2011-07-15 21:06:53 +00:00
Timotei Dolean
75092c8b56 eclipse plugin: Re-generate the grammar for the upgrade to xtext 2.0 2011-07-15 21:06:38 +00:00
Timotei Dolean
8424a402c8 eclipse plugin: Start implementing a better way of...
...checking each config file's information required for intellisense.
2011-07-15 21:06:26 +00:00
Timotei Dolean
bacc432505 eclipse plugin: Bump the required xtext version to 2.0 2011-07-15 21:06:16 +00:00
Timotei Dolean
029f8cc072 eclipse plugin: Update the user manual as well...
...and remove trailing spaces
2011-07-15 21:06:07 +00:00
Timotei Dolean
25cd35c30e eclipse plugin: Update the dev manual with suggestions...
...from fendrin. Also bump the eclipse version to indigo as we're
gonna upgrade xtext to 2.0 as well
2011-07-15 21:05:57 +00:00
Timotei Dolean
fb7939c2e9 eclipse plugin: remove the build eclipse project...
...and let it be just a build directory
2011-07-15 21:05:47 +00:00
Timotei Dolean
d9044c7a9e eclipse plugin: Work a bit on the grammar and make it...
...take in account proper IFDEF format and also the order of the macro
calls
2011-07-15 21:05:34 +00:00
Timotei Dolean
b75beee2c6 eclipse plugin: Add a Xtend post processor to set...
...the grammar's default values. So, we'll have empty strings instead
of null, when there is no value set.  Also made the
plus/relative/point be strings instead booleans.
2011-07-15 21:05:20 +00:00
Timotei Dolean
df0bc04176 eclipse plugin: Rename 'ConfigFile' to 'WMLConfig' 2011-07-15 21:05:08 +00:00
Timotei Dolean
d7289ab78d eclipse plugin: Move the location of the 'preprocessed.txt'...
...to the temporary Folder
2011-07-15 21:04:58 +00:00
Timotei Dolean
ebd14a50a9 eclipse plugin: Rename the 'getDefines' into 'getMacros' 2011-07-15 21:03:27 +00:00
Timotei Dolean
e1890d3a57 eclipse plugin: Implement the content assist for CAC Variables and events 2011-07-13 20:48:05 +00:00
Timotei Dolean
53402340cb eclipse plugin: On full build, clear all previously cached information. 2011-07-13 20:47:53 +00:00
Timotei Dolean
62a75d7a08 eclipse plugin: Fix a typo 2011-07-13 20:47:42 +00:00
Timotei Dolean
aee91eef23 eclipse plugin: Implement the CAC loading in the Templates Provider 2011-07-13 20:47:30 +00:00
Timotei Dolean
f1768f3fac eclipse plugin: Add the Events and Variables Content Assist Config files 2011-07-13 20:47:18 +00:00
Timotei Dolean
556a25124b eclipse plugin: Remove the forced return statement 2011-07-13 20:47:06 +00:00
Timotei Dolean
b64c329b2a eclipse plugin: Remove debug printing 2011-07-13 20:46:55 +00:00
Timotei Dolean
3f3b96668d eclipse plugin: Big commit. Further enhance the builder...
...so it can update modified files as well. It now works to change the
order of the includes
2011-07-13 20:46:43 +00:00