microsoft / microsoft/language-server-protocol

feature request: add ability to tag an item as exported or not.

Open
#1,046 5 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

document symbols feature-request
Dominant language
TypeScript
Stars
13k
Forks
1k
Avg merge
6d 1h
Merged PRs (30d)
10

Description

This would probably involve extending the SemanticTokenModifiers to include an exported enum value, but ideally should reflect in the hierarchy view too.

This allows the kind of effect shown in this snapshot of a competing IDE, where the lock/unlock symbol is shown based on whether the function is exported or not.

Screenshot 2020-07-22 at 12 38 46

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by locating the SemanticTokenModifiers definition and the code responsible for the hierarchy view. Review how exported and non-exported symbols are currently represented, then compare the desired lock/unlock behavior with the linked screenshot. Done means the protocol supports an exported modifier and the hierarchy view reflects whether an item is exported.

Written by the indexing model from the issue text.

Assessment

Tech stack
typescript
Domain
developer-experience
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.