microsoft / microsoft/monaco-editor
[Feature Request] enable retention of size of docs popup
Nobody has claimed this yet.
- Dominant language
- JavaScript
- Stars
- 46.8k
- Forks
- 4.1k
- Avg merge
- 17h 58m
- Merged PRs (30d)
- 1
Description
Context
- This issue is not a bug report. (please use a different template for reporting a bug)
- This issue is not a duplicate of an existing issue. (please use the search to find existing issues)
Description
When the completions popup is resized, this new size is passed to IStorageService.store. Therefore theoretically it could be persisted to localStorage or some other persistent store (as per https://stackoverflow.com/questions/71293521/monaco-saving-preferences-to-localstorage).
However when the docs popup is resized, Monaco does not appear to save the new size:
Test in 0.31.1
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by comparing the completions popup's resize handling with the docs popup in Monaco 0.31.1, focusing on where the IStorageService.store call is made. Verify whether the docs popup size is persisted to localStorage or another configured persistent store, and confirm that the saved size is restored after reopening the popup.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- javascript
- Domain
- frontend
- Issue type
- Feature
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 45/100