Comments (5)
I have sent a pr already for this #23473
from deno.
I have sent a pr already for this #23473
With this PR the language server works as expected.
Thank you.
from deno.
Thanks @sigmaSd. Merged. Will be in the next release this week.
from deno.
The language server periodically sends the 0
signal to the editor via this kill
function. In 04c6785 everything works fine, but in c0f40ed this function throws an error with the value -22
.
deno/ext/node/polyfills/process.ts
Line 298 in a2dbcf9
from deno.
Here we go!
In 04c6785 there was a special treatment for signal 0, but in c0f40ed it has been removed. Also, signal 0 is not listed in constants.
So maybeSignal
becomes undefined
and function returns error.
deno/ext/node/polyfills/process.ts
Line 266 in c0f40ed
So LSP server tries to send signal 0 to check if editor is alive. Deno sees signal 0 and does not know what to do and returns error. LSP server sees this error and thinks that editor is dead and happily exists.
from deno.
Related Issues (20)
- Feat: shareable presets for formatting and linting
- feat: LSP should suggest `@ts-types` for npm packages with missing types HOT 1
- Implement `PerformanceObserver.observe` from `node:perf_hooks` HOT 1
- Support semver ranges in `deno upgrade --version=`
- DENO_AUTH_TOKEN does not work, when it contains an extra \n at the end HOT 1
- Enable `log` feature of `tracing` crate
- ReadableStream.pipeTo doesn't always work with Deno streams. HOT 5
- add Uint8Array to/from base64 and hex HOT 3
- Feat: New CLI Subcommand - `deno types`
- Deno panics when arguments are logged inside Proxy get handler HOT 4
- Improve error message when accessing /proc
- node:http2 stream error when using npm:firebase-admin
- Bug: Importing npm package with `.json` main entry errors HOT 5
- Generated HTML doc search results are partially hidden behind the header
- `deno doc --html` generates incorrect links when searching from a subpage
- WebSocket memory leak HOT 3
- `createRequire(import.meta.url)` doesn't work from `jsr` registry HOT 8
- `deno clean` ignores `DENO_DIR` env var HOT 2
- Can't install `deployctl` in freshly installed Deno environment
- WebSocketStream unhandled rejection HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from deno.