Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Project: Release Minimal CLI + Editor #5247

Open
13 tasks
StachuDotNet opened this issue Jan 10, 2024 · 0 comments
Open
13 tasks

Project: Release Minimal CLI + Editor #5247

StachuDotNet opened this issue Jan 10, 2024 · 0 comments
Assignees

Comments

@StachuDotNet
Copy link
Member

StachuDotNet commented Jan 10, 2024

We've been working on a lot over the past year, but haven't done a great job of releasing it to our users.

This Issue captures work towards a short-term checkpoint, where users can minimally

  • install a self-updating darklang CLI exe
  • write a .dark script, and run it via the darklang exe
  • access and use our VS Code extension which wraps our LSP-based Language Server
  • have a reasonable, if bare-bones, experience writing such a script

See companion issue #5265 for how this fits into our current goals.


We set these goals around a month ago in Notion, and here I'm attempting to represent them in a GitHub Issue instead

  • installation and self-update of the CLI // ocean
    • deal with MacOS code signing
    • make execution/installation work on Windows
  • parsing and pretty-printing
    • otherwise, we won't be able to use it in the cli-hosted LSP server
    • grammar to match more of our full language
  • editor
    • Update “Completions” request to return function names where relevant
      • get context of what node you're on (could this be a function name?)
      • extract the full word in focus (e.g. List.a)
      • provide function that takes "List.a" and suggests "List.append" along with other things (it might be possible for this to just return a list of all fns, and have the client filter it down appropriately)
      • return relevant completions
    • tidy marketplace page
    • more completions -- type name, fn name, const name, genAI
    • better initialize handling (respect the incoming request)
    • handle onHover
    • view package sources
@StachuDotNet StachuDotNet changed the title Current Focus Planning doc: our current focuses Jan 10, 2024
@StachuDotNet StachuDotNet changed the title Planning doc: our current focuses Planning doc: our current focus Jan 10, 2024
@StachuDotNet StachuDotNet self-assigned this Jan 10, 2024
@StachuDotNet StachuDotNet pinned this issue Jan 15, 2024
@StachuDotNet StachuDotNet changed the title Planning doc: our current focus Project: Release Minimal CLI + Editor Jan 15, 2024
@StachuDotNet StachuDotNet added the needs-review I plan on going through each of the issues and clarifying them -- this is to mark remaining issues label Feb 14, 2024
@StachuDotNet StachuDotNet removed the needs-review I plan on going through each of the issues and clarifying them -- this is to mark remaining issues label Jun 25, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants