matthiasblaesing commented on PR #5567:
URL: https://github.com/apache/netbeans/pull/5567#issuecomment-1445461568

   I did a first pass and these are my notes:
   
   - All: The module names should not contain the folder name prefix `rust.XXXX 
-`, just the part after the "dash"
   - All: The commits should be squashed at least partially (19 seems to be to 
much)
   - Grammar: The *.interp and *.tokens files from  
org.netbeans.modules.rust.grammar.antlr4 package can be dropped. Then the 
licenseinfo.xml passage can be dropped as the java files already contain the 
ASF header.
   - Grammar: Is it a good idea to modify the grammers (RustLexer.g4 and 
RustParser.g4) directly? For the CSS parser direct modifications were done and 
the grammar became disconnected from its origin, without an option to ever get 
updates from the source. This is ok, we just should now, whether we want to go 
down that road.
   - Grammar: The build script rebuilds the java code from the grammar, yet the 
generated code is checked in. In other cases (golang, CSS) we generate the java 
code once and there are instructions in the generated files, that changes have 
to be made in the grammar files and rebuilding the java files is necessary.
   - Grammar: the Icons in 
org.netbeans.modules.rust.grammar.structure.resources need entries in the 
licenseinfo.xml
   - Project: It is surprising, that the "files" view shows less, than the 
"projects" view. All other types I'm aware of show a subset of data in the 
projects view and the files view gives access to data filterer in the project 
view
   - Project: The ZIP file should not be there. There are two issues with this: 
we should not add ZIP files to two repository as the contents can be checked in 
directly. This then also allows to use the input in the wizard to update the 
`Cargo.toml` accordingly. The .gitignore file can be trivially created on the 
fly.
   - Project API: src/org/netbeans/modules/rust/project/api/rust-logo.png is 
not used.
   - Sources: The file 
`src/org/netbeans/modules/rust/sources/rs/templates/rust-file.png` should use 
`COMMENT_UNSUPPORTED`


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists

Reply via email to