Comments (7)
I wonder if Groovy 3 exposes the doc comments or not? I'm waiting on them to release a particular bug fix before I upgrade to Groovy 3. I know some of the APIs have improved, but I haven't had much chance to dive in very deeply. I only learned enough of the new API to get the current features of the language server working (minus one or two that need that bug fix).
from groovy-language-server.
@joshtynjala coolio, I will focus on a Groovy 3 implementation. Let me do some research in the day or two and get back to you.
from groovy-language-server.
@joshtynjala So the first sentence of the Groovy3 release notes talks about switching to parrot
.
Parrot for sure offers javadoc comments when it creates the AST. Does that mean when we switch to groovy 3 we will have access to parrot? If so then implementing this will be a lot easier.
from groovy-language-server.
Yeah, with that in mind, it sounds like implementing this will be much easier with Groovy 3.
from groovy-language-server.
This was further down the page "runtime groovydoc, i.e. groovydoc with @Groovydoc; groovydoc attached to AST node as metadata"
@joshtynjala So it seems like annotated groovy doc will be there, I'm not sure about normal groovydoc? I should be able to create a feature branch off of the groovy3
branch and see if normal comments work correctly right?
from groovy-language-server.
From the parrot docs
groovy.attach.runtime.groovydoc: whether to attach @Groovydoc annotation to all members which have groovydoc(i.e. /**@ ... */)
So it seems like a way exists to force parrot to treat all groovy-doc like its runtime.
from groovy-language-server.
Yeah, feel free create a branch off the groovy3 branch and see what you can find.
from groovy-language-server.
Related Issues (20)
- ternary operator causes LS not to work.
- NullPointerException in logging when traceing is turned on
- add support for gradle HOT 4
- Can't build it on m1 Pro macs HOT 4
- Project fails to build with openjdk-17-jdk HOT 1
- Missing Core Classes for Completion HOT 1
- Better classpath intergration for maven/gradle projects
- Integrate groovy-language-server in a maven project HOT 2
- Instructions for using this within VSCode? HOT 3
- Project fails to build with openjdk-18-jdk
- Publish as maven artifact HOT 2
- LSP attach project docs support HOT 2
- Autocompletion support for java HOT 8
- Compilation error: "property 'mainClassName' doesn't have a configured value" HOT 1
- Why are we ignoring the changed file HOT 8
- unclear how to use additional classpath HOT 8
- Configuration Failuure HOT 3
- Query on Dependency Resolution and Code Suggestions/Completion HOT 4
- Usage and Dynamic Variables
- Documentation? 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 groovy-language-server.