GithubHelp home page GithubHelp logo

Comments (7)

joshtynjala avatar joshtynjala commented on August 17, 2024

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.

shadycuz avatar shadycuz commented on August 17, 2024

@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.

shadycuz avatar shadycuz commented on August 17, 2024

@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.

joshtynjala avatar joshtynjala commented on August 17, 2024

Yeah, with that in mind, it sounds like implementing this will be much easier with Groovy 3.

from groovy-language-server.

shadycuz avatar shadycuz commented on August 17, 2024

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.

shadycuz avatar shadycuz commented on August 17, 2024

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.

joshtynjala avatar joshtynjala commented on August 17, 2024

Yeah, feel free create a branch off the groovy3 branch and see what you can find.

from groovy-language-server.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.