Comments (6)
Indeed they are not detected since comments are stripped out during parsing. Comments are not a structural/semantic change. Since now people are using Gumtree more and more as a daily usage tool, we should definitely consider them at least up to some point.
from gumtree.
Yeah that would be a great help detecting comment changes.
from gumtree.
This is clearly annoying, but it will be hard to fix because comments are not visited by the JDT visitor: see here. It must be done manually but then it will be hard to know where to put them in the already generated AST
from gumtree.
Hi. I am working with gumtree, and I came across this issue too. Is there any scope of this being fixed?
(I have worked with JDT before and was able to solve the problem of finding where to attach the comments nodes to the AST later.)
from gumtree.
Hi pranet, nobody's working on it at the moment, so if you want to take a shot, you're more than welcome!
from gumtree.
OK this there are no news on this subject, and since it does not seems that Java comment are going to change in JDT, we drop this for the moment. Please reopen if new information comes up.
from gumtree.
Related Issues (20)
- No syntax exception raised in some cases for JDT HOT 16
- Order ignored? HOT 3
- Respect .gitignore HOT 9
- `textdiff` has inconsistent range output between formats HOT 3
- Support for renaming files HOT 1
- Docker Image HOT 1
- Reversed left and right in git gd command HOT 1
- Steps to get AST Diff for Python Files HOT 5
- ClassNotFound `org/simmetrics/StringMetrics` HOT 15
- Can't generate a parse tree I get this error HOT 1
- ast diff in with gumtree in the browser for file diff on Github
- generate edit script through command HOT 3
- use gumtree diff two commit edit script HOT 2
- use treesitter parse ast failed HOT 4
- JdtVisitor ignores optionalTagName for javadocs HOT 9
- What is the difference between monaco, classic, monaco-native? HOT 5
- Including PLSQL HOT 15
- Is there a version supported by jdk8? HOT 1
- [Question] Why does deepCopy not copy over metadata? HOT 2
- parse go throw ClassCastException HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from gumtree.