-
Notifications
You must be signed in to change notification settings - Fork 4
NRefactoryJava
We contributed back our changes to NRefactory to SharpDevelop project but they don't have interest to include them in original project. This page created because of requests to receive these changes. For detailed change list check NRefactoryChanges
Steps to include Java parser and other required stuff in NRefactory :
- Grab NRefactory sources: a. Revision 2622 of NRefactory b. EasyCodeDOM.cs from Sharpdevelop source code and put it in NRefactoryASTGenerator folder.
Note: Recent revisions of NRefactory (SharpDevelop) migrated to VS 2008 and C# 3.0.
- Include Janett changes to support Java (All required files as a package are downloadable from here.)
a. Apply NRefactory-Java.patch b. Apply ProjectFiles.patch c. Unpack NRefactory-Java.zip
- Now you can generate Java lexer and parser or use generated ones
a. Apply NRefactory-Java-Generated.patch b. Unpack NRefactory-Java-Generated.zip
if you want to generate them (because of your changes in source files) a. Open command prompt in Projectfolder and run "...pl" (you should install a Perl interpreter to do this step) b. Run Project.bat c. Set NRefactoryASTGenerator as startup project and Run it
- Ensure JavaOutputTest and JavaParserTests are passed