tensorchord / envd-lsp Goto Github PK
View Code? Open in Web Editor NEWLanguage server for https://github.com/tensorchord/envd
Home Page: https://github.com/tensorchord/envd
License: Apache License 2.0
Language server for https://github.com/tensorchord/envd
Home Page: https://github.com/tensorchord/envd
License: Apache License 2.0
We should support macos arm64.
Message from the maintainers:
Love this enhancement proposal? Give it a ๐. We prioritise the proposals with the most ๐.
When we turn to Python
extension Hover info, it would display Args
and Returns
:
While envd
Hover only display documents, likes:
We have description of arguments either, we could display them like Python
extension.
ref: https://envd.tensorchord.ai/api/starlark/v0/global.html
This is by inherited Hover
from starlark use plaintext
to display, it drops arguments/returns from docstring.
https://github.com/tilt-dev/starlark-lsp/blob/c0c1958f8166f93abfde9f5d3ddbf0d66e405730/pkg/query/signature.go#L72
We could provide a Markdown model and insert arguments and returns to it.
Message from the maintainers:
Love this enhancement proposal? Give it a ๐. We prioritise the proposals with the most ๐.
For any PR, It will always blocked at Expected โ Waiting for status to be reported
for CI job, and unend forever.
Originally posted by @cutecutecat in #29 (comment)
Release tag push at a detached commit of a fork of depandabot
.
Which lead to v0.2.4
as the only available last tag and changelog contains whole history.
detached commit: 9bb022f
git tag
v0.0.1-alpha.1
v0.0.1-alpha.2
v0.0.1-alpha.3
v0.2.0
v0.2.2
v0.2.3
v0.2.4
v0.2.5
v0.3.0
v0.3.1
v0.3.5
git describe --abbrev=0 --tags
v0.2.4
Action: https://github.com/tensorchord/envd-lsp/actions/runs/3828232773/jobs/6513594739
The Action checkout the detached branch.
To fix it, we need to:
mathieudutour/[email protected]
and turn to git tag push
ref: main
to actions/checkout@v3
to force pull main branchkachick/wait-other-jobs@v1
to wait PR merged finished before push tag- name: Wait other jobs(CI and lint)
uses: kachick/wait-other-jobs@v1
timeout-minutes: 10
with:
min-interval-seconds: '10'
github-token: '${{ secrets.GITHUB_TOKEN }}'
Message from the maintainers:
Impacted by this bug? Give it a ๐. We prioritise the issues with the most ๐.
name: release
on:
push:
tags:
- 'v*'
pull_request:
paths:
- '.github/workflows/release.yml'
- '.goreleaser.yaml'
It will trigerr release when a PR created, not PR merged. A hacker can produce a bad PR, and easily ruin the newest release.
ref: https://github.com/orgs/community/discussions/26724
As PR merge always triger a push, we can use:
name: release
on:
push:
tags:
- 'v*'
paths:
- '.github/workflows/release.yml'
- '.goreleaser.yaml'
instead. ref: https://github.com/orgs/community/discussions/26273
Create a PR of .github/workflows/release.yml
changed.
Demo: cutecutecat#1
The release is actually trigererd!
Message from the maintainers:
Impacted by this bug? Give it a ๐. We prioritise the issues with the most ๐.
LSP protocol provide an API SemanticTokens
. According to VSCode, Semantic tokens are used to add additional color information to a file that depends on language specific symbol information.
VSCode document: https://code.visualstudio.com/api/language-extensions/semantic-highlight-guide
envd-lsp
depends on starlark-lsp
, which doesn't implement this feature.
However, there are some difference between envd
and raw starlark
:
def build()
is the entry of env build script, that is a special functionenvdlib = include("https://github.com/tensorchord/envdlib")
should not be see as a function call, but a module importBoth of them could be implement by feature SemanticTokens
. Apart from special color rendered at file, we could instruct envd-vscode
to add run
icon at the line of def build()
, as previous design File Command
from tensorchord/vscode-envd#10 (comment)
Message from the maintainers:
Love this enhancement proposal? Give it a ๐. We prioritise the proposals with the most ๐.
envd ApiStubs
has a breaking change since v0.3.0
, makes lsp
failed to extract API.
We could do these to fix it:
syntax
at LSP Server start, instruct whether version point tobase
method for both v0
and v1
Message from the maintainers:
Impacted by this bug? Give it a ๐. We prioritise the issues with the most ๐.
Message from the maintainers:
Love this enhancement proposal? Give it a ๐. We prioritise the proposals with the most ๐.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.