Git Product home page Git Product logo

Comments (8)

gabro avatar gabro commented on June 14, 2024 1

Those are really good suggestions @laughedelic! We've just got the ball rolling and it's very promising. We'll see where this take us :)

from metals.

ShaneDelmore avatar ShaneDelmore commented on June 14, 2024 1

autocomplection - I have seen IDEs help complect code before but I'm not sure it's a feature we should enable.

from metals.

ShaneDelmore avatar ShaneDelmore commented on June 14, 2024 1

I was just being silly. To be more helpful, regarding the original bullet point:
/s/autocomplection/autocompletion

from metals.

jvican avatar jvican commented on June 14, 2024

To me, autocompletion, textDocument/definition and textDocument/rename are the killer features. I'm glad you're working on this @gabro, I think a hybrid of the presentation compiler and semanticdb can be a very interesting avenue to explore to provide people with better tooling.

from metals.

gabro avatar gabro commented on June 14, 2024

I agree @jvican! Those would finally give any editor a great Scala experience without the burden of a full-fledged IDE.

definition and rename are definitely within reach using scalameta and scalafix respectively.
For autocompletion, I've zero experience on how the presentation compiler works, but I hope that will change soon :D

from metals.

laughedelic avatar laughedelic commented on June 14, 2024

Hi! I just discovered this project and I'm really glad that it already exists! 👏 I was thinking how to use scalameta for creating a Scala language server, but I don't know almost anything about it and it would take me a lot of time to start and make anything working..

Here are some more LSP requests that, I think, could be in reach of SemanticAPI:

  • textDocument/hover to show type information on hover
  • textDocument/signatureHelp to show method/constructor signature when filling its parameters
  • textDocument/references to find project-wide references for the given symbol. I guess, once you have workspace/symbol, it should be easy.
  • textDocument/documentHighlight similar to references, but local to the document (docs also say it's more "fuzzy")
  • textDocument/codeAction to apply scalafixes?

    The code action request is sent from the client to the server to compute commands for a given text document and range. These commands are typically code fixes to either fix problems or to beautify/refactor code.

from metals.

gabro avatar gabro commented on June 14, 2024

@ShaneDelmore you mean snippets?

from metals.

gabro avatar gabro commented on June 14, 2024

I think the roadmap we have in the README is comprehensive enough. Closing.

from metals.

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.