microsoft / microsoft/VSExtensibility

Save Extension data on Editor level

Open
#263 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

inprocSDK question
Dominant language
C#
Stars
440
Forks
63
Avg merge
2d 12h
Merged PRs (30d)
1

Description

Hi,

My use case is : I want to add a margin to a SQL editor that shows all the tables of the current database in a Datagrid. However I'm looking for a way to show/hide that data grid on per document base. So by default the datagrid is visible on all SQL documents. However, the user should be able to hide the datagrid whenever it gets in the way. So it could be that the grid is visible in Query1.sql, but for instance not in Query2.sql.
So I probably need a flag on Document level that keeps the Datagrid visibility. Or do you know of better ways ?

Thanks in advance

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 reviewing the editor and document extensibility entry points related to saving state per document. Define how Datagrid visibility should be stored and restored for each SQL document, then verify that changing visibility in one document does not affect another.

Written by the indexing model from the issue text.

Assessment

Tech stack
csharp
Domain
desktop, devtools
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.