aboutsummaryrefslogtreecommitdiff
path: root/crates/ide/src/lib.rs
Commit message (Collapse)AuthorAgeFilesLines
* Factor out `pick_best_token` ide pattern into `ide_db`Lukas Wirth2021-06-221-1/+1
|
* Collapse documentation and markdown config settings into an enumLukas Wirth2021-06-211-1/+1
|
* Split hover actions config into its own config structLukas Wirth2021-06-211-4/+2
|
* Move features into potential_cfg_optionsJamie Cunliffe2021-06-211-1/+1
|
* Improve completion of cfg attributesJamie Cunliffe2021-06-211-0/+1
| | | | | | | | | | | | The completion of cfg will look at the enabled cfg keys when performing completion. It will also look crate features when completing a feature cfg option. A fixed list of known values for some cfg options are provided. For unknown keys it will look at the enabled values for that cfg key, which means that completion will only show enabled options for those.
* Merge #9264bors[bot]2021-06-211-1/+2
|\ | | | | | | | | | | | | | | | | | | 9264: feat: Make documentation on hover configurable r=Veykril a=Veykril This also implements deprecation support for config options as this renames `hoverActions_linksInHover` to `hover_linksInHover`. Fixes #9232 Co-authored-by: Lukas Wirth <[email protected]>
| * Make documentation on hover configurableLukas Wirth2021-06-141-1/+2
| |
* | Show diagnostic fixes before assistsLaurențiu Nicola2021-06-151-3/+4
| |
* | internal: flatten module hierarchyAleksey Kladov2021-06-141-4/+6
| | | | | | | | | | It seems that any crate can be made better by flattening the modules down to a single layer?
* | internal: prepare to move assist definitionsAleksey Kladov2021-06-141-2/+2
| |
* | internal: move diagnostics to a new crateAleksey Kladov2021-06-141-4/+3
|/
* clippy::redudant_borrowMaan20032021-06-131-6/+6
|
* Update salsaJonas Schievink2021-05-271-58/+70
|
* Add a "Debug ItemTree" LSP requestJonas Schievink2021-05-211-0/+5
|
* Add pub mod option for UnlinkedFilerainy-me2021-05-181-1/+1
|
* Move `dot` invocation to rust-analyzer crateJonas Schievink2021-05-111-0/+1
|
* Allow viewing the crate graph in a webviewJonas Schievink2021-05-111-0/+5
|
* Add docs and use better namingKirill Bulatov2021-05-031-1/+3
|
* Resolve single assist onlyKirill Bulatov2021-05-031-4/+4
|
* Add a way to resolve certain assistsKirill Bulatov2021-05-031-15/+20
|
* Prevent being able to rename items that are not part of the workspaceLukas Wirth2021-04-181-0/+6
|
* Merge #8354bors[bot]2021-04-131-1/+1
|\ | | | | | | | | | | | | | | 8354: Distinguishing between different operators in semantic highlighting r=matklad a=chetankhilosiya Co-authored-by: Chetan Khilosiya <[email protected]>
| * 8279: Added initial implementation forChetan Khilosiya2021-04-081-1/+1
| | | | | | | | Operator semantic highlighting.
* | feat: improve performance by delaying computation of fixes for diagnosticsAleksey Kladov2021-04-131-3/+5
| |
* | Ensure that listing&resolving code actions use the same set of actionsAleksey Kladov2021-04-131-0/+28
| |
* | internal: prepare for lazy diagnosticsAleksey Kladov2021-04-121-1/+1
|/
* Item up and down moversivan7702021-03-181-0/+10
|
* Move code to the appropriate layerAleksey Kladov2021-03-151-2/+2
| | | | | | StructureNodeKind is a type which is specific to a particular feature, file_structure. It shouldn't be in the "code shared by all ide features" part.
* Merge #7799bors[bot]2021-03-131-0/+9
|\ | | | | | | | | | | | | | | | | | | | | | | | | 7799: Related tests r=matklad a=vsrs ![tests](https://user-images.githubusercontent.com/62505555/109397453-a9013680-7947-11eb-8b11-ac03079f7645.gif) This adds an ability to look for tests for the item under the cursor: function, constant, data type, etc The LSP part is bound to change. But the feature itself already works and I'm looking for a feedback :) Co-authored-by: vsrs <[email protected]>
| * Add runnables::related_testsvsrs2021-02-271-0/+9
| |
* | remove unused CompletionScore enumJosh Mcguigan2021-03-121-2/+2
| |
* | add completion relevance scoreJosh Mcguigan2021-03-121-2/+2
| |
* | add apply ssr assistJosh Mcguigan2021-03-101-1/+7
| |
* | Work towards better import labelsKirill Bulatov2021-03-081-2/+0
|/
* 7526: Renamed create ssr to ide_ssr.Chetan Khilosiya2021-02-221-3/+4
|
* 7526: Rename crate assists to ide_assists.Chetan Khilosiya2021-02-221-1/+1
|
* rename completion -> ide_completionAleksey Kladov2021-02-171-4/+4
| | | | We don't have completion-related PRs in flight, so lets do it
* Make utf8 default, implement utf16 in terms of itAleksey Kladov2021-02-161-1/+1
|
* Prepare for utf-8 offsetsAleksey Kladov2021-02-161-1/+1
|
* Moved CodeLens to ide crateivan7702021-02-131-0/+14
|
* Use NameLike in FileReference directly as its not exported from ide anymoreLukas Wirth2021-02-121-1/+1
|
* Refactor reference searching to work with the astLukas Wirth2021-02-121-2/+2
|
* Move SymbolKind to ide_dbLukas Wirth2021-01-201-1/+1
|
* Remove obsolete RangeInfo usage in referencesLukas Wirth2021-01-181-3/+1
|
*-. Merge #7297 #7338bors[bot]2021-01-181-0/+2
|\ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 7297: Propose trait associated items and autoimport traits on completion r=matklad a=SomeoneToIgnore ![trait_imports](https://user-images.githubusercontent.com/2690773/104819998-6faeb480-583a-11eb-8b45-b7351b51b90e.gif) Closes #7248 7338: Parse `impl const Trait` r=Veykril a=Veykril Closes #7313 bors r+ Co-authored-by: Kirill Bulatov <[email protected]> Co-authored-by: Lukas Wirth <[email protected]>
| * | Add flyimport completion for trait assoc itemsKirill Bulatov2021-01-161-0/+2
| | |
* | | Remove obsolete RangeInfo usage in renameLukas Wirth2021-01-181-1/+1
| |/ |/|
* | MinorAleksey Kladov2021-01-181-8/+5
|/
* Share import_assets and related entitiesKirill Bulatov2021-01-161-1/+1
|
* Phase out SourceFileEdits in favour of a plain HashMapLukas Wirth2021-01-141-1/+1
|