ember-tooling / ember-language-server Goto Github PK
View Code? Open in Web Editor NEWLanguage Server Protocol implementation for Ember.js projects
License: MIT License
Language Server Protocol implementation for Ember.js projects
License: MIT License
Hey,
I am working on quite a large codebase and language server burns my CPU on 100% for long periods, seeming to never finish (left it running for 30minutes).
How can I debug what's actually happening?
Branch | Build failing ๐จ |
---|---|
Dependency | mocha |
Current Version | 3.3.0 |
Type | devDependency |
This version is covered by your current version range and after updating it in your project the build failed.
As mocha is โonlyโ a devDependency of this project it might not break production or downstream projects, but โonlyโ your build or test tools โ preventing new deploys or publishes.
I recommend you give this issue a high priority. Iโm sure you can resolve this ๐ช
Mocha is now moving to a quicker release schedule: when non-breaking changes are merged, a release should happen that week.
This week's highlights:
allowUncaught
added to commandline as --allow-uncaught
(and bugfixed)--no-warnings
and --trace-warnings
flags (@sonicdoe)The new version differs by 9 commits0.
7554b31
Add Changelog for v3.4.0
9f7f7ed
Add --trace-warnings
flag
92561c8
Add --no-warnings
flag
ceee976
lint test/integration/fixtures/simple-reporter.js
dcfc094
Revert "use semistandard
directly"
93392dd
no special case for macOS running Karma locally
4d1d91d
--allow-uncaught cli option
fb1e083
fix allowUncaught in browser
4ed3fc5
Add license report and scan status
false
See the full diff
There is a collection of frequently asked questions and of course you may always ask my humans.
Your Greenkeeper Bot ๐ด
update name to @ember-tooling/ember-language-server
ember-language-server/package.json
Line 2 in 2583961
Update repo url
ember-language-server/package.json
Line 16 in 2583961
As of today, atom supports language servers too! Great news for the adoption of this project. What are next steps for making at atom plug-in?
If there is a custom .eslintrc.js
file in the component folders, the language server thinks there is a component called .eslintrc
and provides autocompletion.
We should use https://www.appveyor.com/ to test this project on Windows too given the amount of filesystem stuff we do
NPM_TOKEN
for ember-tooling orgpackage.json
#394Branch | Build failing ๐จ |
---|---|
Dependency | @types/node |
Current Version | 7.0.28 |
Type | devDependency |
This version is covered by your current version range and after updating it in your project the build failed.
As @types/node is โonlyโ a devDependency of this project it might not break production or downstream projects, but โonlyโ your build or test tools โ preventing new deploys or publishes.
I recommend you give this issue a high priority. Iโm sure you can resolve this ๐ช
There is a collection of frequently asked questions and of course you may always ask my humans.
Your Greenkeeper Bot ๐ด
action
link-to
, input
or textarea
Currently addon projects are not supported. Most of the features aren't working at all, or they are not really useful (e.g. the definition provider for templates provides the app re-export).
The demo language server is designed to move the compiled output into the vscode extension.
Since we want to keep the language server decoupled from the editor/IDE plugins the compiled output should stay in the current folder.
I'm using @lifeart's fork of this, and found that trying to use go-to definition on 'this.foo' doesn't work as expected.
This is using https://github.com/NullVoxPopuli/coc-ember
It would be nice if this was configurable:
https://github.com/emberwatch/ember-language-server/blob/master/src/server.ts#L82-L90
My cpu usage spikes up to 100% on one of my cores when this plugin is enabled and I think it's due to big directories not in the stock exclude path.
Use the node.js/TypeScript example server code.
cc @t-sauer
Components that only have a template and no JS file are currently not indexed.
find
, findAll
, query
,...)While module unification is coming, at the moment many users are still using pods for larger projects.
Using vscode, it seems "go to definition" only works for relative paths in .js files when executing it with the cursor over an import path string. It also seems there is no support yet for namespaced components which use the "::" syntax. Is there any plan to support namespaced/absolute paths in these scenarios? I would be very interested in helping add this support though i might need some guidance getting up to speed on how to run and debug the server from vscode. thanks!
Branch | Build failing ๐จ |
---|---|
Dependency | ts-node |
Current Version | 3.0.4 |
Type | devDependency |
This version is covered by your current version range and after updating it in your project the build failed.
As ts-node is โonlyโ a devDependency of this project it might not break production or downstream projects, but โonlyโ your build or test tools โ preventing new deploys or publishes.
I recommend you give this issue a high priority. Iโm sure you can resolve this ๐ช
The new version differs by 7 commits.
c18331a
3.0.5
5cf97b1
Add --inspect-brk
to known flags (#343)
7dfb3e3
Pin node tests at 6.x
(#340)
633d537
chore(package): update chai to version 4.0.1 (#337)
b751a56
Define exports
and improve getTypeInfo
help (#332)
d018300
Update yn
default option
cc3bf22
Expose _
bin file for consumers to use
See the full diff
There is a collection of frequently asked questions and of course you may always ask my humans.
Your Greenkeeper Bot ๐ด
This is because it looks for the presence of ember-cli-build.js, which is not present in V2 Addons. I'd like ELS so I at least get template linting support in VSCode.
To see what happens to your code in Node.js 10, Greenkeeper has created a branch with the following changes:
.travis.yml
package.json
files, so that was left aloneIf youโre interested in upgrading this repo to Node.js 10, you can open a PR with these changes. Please note that this issue is just intended as a friendly reminder and the PR as a possible starting point for getting your code running on Node.js 10.
Greenkeeper has checked the engines
key in any package.json
file, the .nvmrc
file, and the .travis.yml
file, if present.
engines
was only updated if it defined a single version, not a range..nvmrc
was updated to Node.js 10.travis.yml
was only changed if there was a root-level node_js
that didnโt already include Node.js 10, such as node
or lts/*
. In this case, the new version was appended to the list. We didnโt touch job or matrix configurations because these tend to be quite specific and complex, and itโs difficult to infer what the intentions were.For many simpler .travis.yml
configurations, this PR should suffice as-is, but depending on what youโre doing it may require additional work or may not be applicable at all. Weโre also aware that you may have good reasons to not update to Node.js 10, which is why this was sent as an issue and not a pull request. Feel free to delete it without comment, Iโm a humble robot and wonโt feel rejected ๐ค
There is a collection of frequently asked questions. If those donโt help, you can always ask the humans behind Greenkeeper.
Your Greenkeeper Bot ๐ด
Branch | Build failing ๐จ |
---|---|
Dependency | typescript |
Current Version | 2.4.0 |
Type | devDependency |
This version is covered by your current version range and after updating it in your project the build failed.
As typescript is โonlyโ a devDependency of this project it might not break production or downstream projects, but โonlyโ your build or test tools โ preventing new deploys or publishes.
I recommend you give this issue a high priority. Iโm sure you can resolve this ๐ช
The new version differs by 141 commits.
8b2fe13
Update LKG.
14d95ed
Test:Block-scoped definition of Promise works
a8846bf
Skip block scope check with no error location
44f2336
Merge pull request #16633 from Microsoft/release-2.4_fixIncrementalParsing
4875a27
Add tests
15ef20d
Set the structureReused to be safemoudles when dynamic import change
6d33083
Add tests
11b9f6e
Wip-fix incremental parsing
2721fd4
In TypeScript code, never bind JSDoc normally, just set parent pointers (#16555) (#16561)
0968ed9
Revert string enum changes (#16569)
096f8cc
Update LKG
9241175
Allow running in strict mode (#16557)
f49b007
Update LKG
f1b0f59
Update version to 2.4.1
ed9cde9
Update LKG
There are 141 commits in total.
See the full diff
There is a collection of frequently asked questions and of course you may always ask my humans.
Your Greenkeeper Bot ๐ด
Hi,
I was trying to get this working with sublime, as I seem to be one of the few who have not switched to vscode.
There is this LSP-package which allows a generic way to add language clients:
https://lsp.readthedocs.io/en/latest/#client-config
I can't find the command to start the language server. I guess it's because Ember-cli starts it. I hope you could help me out there or even say if it can be done with sublime text without too much work.
Cheers and keep up the good work.
A code lens that displays which addon a certain component/helper/modifier invocation comes from.
This came from @locks, moving this to here for tracking.
Enable features like "Go To Definition" for injected services.
workflow_dispatch:
so we can run manuallymaster
secrets.GITHUB_TOKEN
As more and more of the community embraces TypeScript, it'll increasingly be the case that at least a reasonably large subset of users will have TypeScript definitions for their components, etc. Resolving those for completion would be a big win.
Builds running with npm2 are currently failing because we import the package estree
(which is actually @types/estree
) which is only installed as a dependency of @types/esprima
.
Somehow require doesn't seem to resolve a scoped module if it is nested inside another module but I haven't verified that yet.
Since npm3 tries to keep the dependency tree flat @types/estree
is located directly in node_modules
and we don't have the problem there. npm2 on the other side puts the dependency into the node_modules
of @types/esprima
which somehow makes it unusable.
My suggestion would be to include @types/estree
in our package.json
since we directly use it so we shouldn't rely on esprima to provide it for us.
Branch | Build failing ๐จ |
---|---|
Dependency | tslint |
Current Version | 5.4.2 |
Type | devDependency |
This version is covered by your current version range and after updating it in your project the build failed.
As tslint is โonlyโ a devDependency of this project it might not break production or downstream projects, but โonlyโ your build or test tools โ preventing new deploys or publishes.
I recommend you give this issue a high priority. Iโm sure you can resolve this ๐ช
--out
file (#2867)unified-signatures
: Don't suggest to unify rest parameters. (#2874)binary-expression-operand-order
: Allow if both sides of the binary expression are literals. (#2873)whitespace
, space-before-function-paren
and deprecation
(#2893)no-string-literal
: Fix documentation (#2875)There is a collection of frequently asked questions and of course you may always ask my humans.
Your Greenkeeper Bot ๐ด
Branch | Build failing ๐จ |
---|---|
Dependency | @types/node |
Current Version | 8.0.48 |
Type | devDependency |
This version is covered by your current version range and after updating it in your project the build failed.
@types/node is a devDependency of this project. It might not break your production code or affect downstream projects, but probably breaks your build or test tools, which may prevent deploying or publishing.
There is a collection of frequently asked questions. If those donโt help, you can always ask the humans behind Greenkeeper.
Your Greenkeeper Bot ๐ด
Branch | Build failing ๐จ |
---|---|
Dependency | vscode-languageserver-protocol |
Current Version | 3.12.0 |
Type | devDependency |
This version is covered by your current version range and after updating it in your project the build failed.
vscode-languageserver-protocol is a devDependency of this project. It might not break your production code or affect downstream projects, but probably breaks your build or test tools, which may prevent deploying or publishing.
There is a collection of frequently asked questions. If those donโt help, you can always ask the humans behind Greenkeeper.
Your Greenkeeper Bot ๐ด
Hi! Thanks for creating this awesome language server for ember.
I'm having trouble setting it up to work with vim using the LanguageClient-neovim plugin. The easiest way to set up language servers with this plugin is to specify how to run the language server over stdin. Ex: javascript': ['/Users/samueljclopton/javascript-typescript-langserver/bin/language-server-stdio']
and 'ruby': ['solargraph stdio']
. Not quire sure what args start-server.js
is expecting, so any help here would be appreciated.
If the Glimmer parser encounters a problem we should be able to provide these errors as diagnostics (pretty much like a linter error).
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.