Giter Club home page Giter Club logo

aya-vscode's Introduction

aya-vscode's People

Contributors

bors[bot] avatar by-cloud avatar ice1000 avatar imkiva avatar murasame233 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

aya-vscode's Issues

Can't compute-type and compute-nf

After press ctrl+l ctrl+p or ctrl+l ctrl+n, we have error report in debug console:

Error: Invalid arguments
	at new l (/Applications/Visual Studio Code.app/Contents/Resources/app/out/vs/workbench/services/extensions/node/extensionHostProcess.js:87:21239)
	at new l (/Applications/Visual Studio Code.app/Contents/Resources/app/out/vs/workbench/services/extensions/node/extensionHostProcess.js:87:17220)
	at applyComputedTerm (/Users/claude/Downloads/projects/aya/aya-vscode/out/compute-term.js:21:24)
	at /Users/claude/Downloads/projects/aya/aya-vscode/out/features.js:24:152

I think the result passed to applyComputedTerm(...) is not in the right format, then I have no clue.

Can't download the VSCode extension build artifacts

The tutorial here https://www.aya-prover.org/guide/vscode-tutorial.html says to go to the aya-vscode github actions https://github.com/aya-prover/aya-vscode/actions/workflows/vsix.yml and to download the artifact from the latest successful run.

But when I try that the artifacts are already expired, since the last run was 2 months ago.

However, going to https://github.com/aya-prover/aya-vscode/releases/tag/nightly-build shows that there's the latest artifact available, the date of it matches the date of the latest run.

So maybe the docs can be updated to reflect this situation better.

How to add new commands?

I wanna implement a command like this:

  • VSCode sends the LSP an instance of some subtype of org.eclipse.lsp4j.TextDocumentPositionParams (done in this client -- Idk how to do it, I need help!)
  • LSP finds an instance of Doc (which, probably we need to convert to plain text before sending to VSCode, but maybe HTML also works?) and a range (done in the compiler, I know how to do it, I don't need help!)
  • VSCode selects the provided range and show the Doc somehow, maybe similar to how GHC-Simple shows the type of expressions (done in this client -- Idk how to do it, I need help!)

@imkiva need your help!!

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.