ember-language-server icon indicating copy to clipboard operation
ember-language-server copied to clipboard

feat: component context info

Open lifeart opened this issue 6 years ago • 8 comments

Related issue: #38, #53

Features:

  • mu, pods, classic layouts support for app models definitions lookup, including js and ts files.
  • mu, pods, classic layouts support for app transforms definitions lookup, including js and ts files.
  • addon components and helpers definitions lookup
  • AngleBracket components autocomplete (including addon-located components) for mu, pods, classic layouts.
  • go-to routes, component properties, actions for mu, pods, classic
  • go-to service declaration definition for classic components
  • go-to ember/addon import support
  • store.peekRecord, findRecord... model names autocomplete for classic
  • belongsTo, hasMany model names autocomplete for classic
  • transitionTo,.. routes autocomplete for classic
  • named: service(name) services autocomplete
  • template linting fix
  • in-repo addons lookup (for classic and mu apps)

implemented in https://marketplace.visualstudio.com/items?itemName=lifeart.vscode-ember-unstable active fork: https://github.com/lifeart/ember-language-server

lifeart avatar Feb 13 '19 19:02 lifeart

@lifeart this PR seems to implement a lot of things. would it be possible to split the features into separate PRs to make them easier to review?

Turbo87 avatar Mar 02 '19 10:03 Turbo87

@Turbo87 don't think so, because is a bunch of refactoring from original implementation, I'm was trying to split it to different files, main logis parts should be nice.

lifeart avatar Mar 02 '19 10:03 lifeart

This looks awesome!!! Is there anything else to do? This feature would ease my day a loot :muscle:

marcemira avatar Sep 15 '19 16:09 marcemira

I've made a bunch of small and large changes throughout so far, and will try to keep iterating on this (albeit at a slower pace) on future days; I expect we can land it Soon™, and as we do it'll have much richer/more solid type behavior.

chriskrycho avatar Sep 20 '19 21:09 chriskrycho

@lifeart This is so awesome! 🎉

@chriskrycho Are there any major blockers left in this PR?

sandstrom avatar Jan 13 '21 15:01 sandstrom

@sandstrom just use https://marketplace.visualstudio.com/items?itemName=lifeart.vscode-ember-unstable

lifeart avatar Jan 13 '21 16:01 lifeart

@lifeart Awesome, just tried it and it works great. 🏅

Any plans to pull all that functionality into this repo? So that more people will discover it. (cc @chriskrycho @locks)

sandstrom avatar Jan 13 '21 17:01 sandstrom

friendly ping @chriskrycho @locks

sandstrom avatar Aug 10 '21 16:08 sandstrom