Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

The order of configuration items in an extension's settings, as defined in the package.json file, is not respected when a search is done in the settings view #238918

Open
briandiloreto opened this issue Jan 28, 2025 · 0 comments
Assignees
Labels
bug Issue identified by VS Code Team member as probable bug settings-editor VS Code settings editor issues settings-search Settings editor remote search provider issues
Milestone

Comments

@briandiloreto
Copy link

Does this issue occur when all extensions are disabled?: Yes/No

Version: 1.96.3 (user setup)
Commit: 91fbddd
Date: 2025-01-09T18:14:09.060Z
Electron: 32.2.6
ElectronBuildId: 10629634
Chromium: 128.0.6613.186
Node.js: 20.18.1
V8: 12.8.374.38-electron.0
OS: Windows_NT x64 10.0.19045

The order of configuration items in an extension's settings is not respected when a search is done in the settings panel.

In the table of contents in Settings, if you click on an extension (or expand the extension and choose one of its setting's categories), then the order will be correct. However, if you do a search for the extension name, then the settings are shown in the incorrect order. In this scenario they aren't even shown in proper lexicographic (alphabetical) order.

Steps to Reproduce:

  1. Open settings
  2. Search for the name of an extension
  3. Observe that the order of the configuration items is not the same as as the order you would see if you DID NOT search, and had simply clicked on the extension name in the table of contents,. When searching, the order does not follow what is defined in the extension's package.json file.

In the screenshots, the name of the extension is "AtomicViz" and the search is done for the string "atomicviz". So the search results should be properly ordered.

Image
Image

@rzhao271 rzhao271 added bug Issue identified by VS Code Team member as probable bug settings-editor VS Code settings editor issues settings-search Settings editor remote search provider issues labels Jan 28, 2025
@rzhao271 rzhao271 added this to the February 2025 milestone Jan 28, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Issue identified by VS Code Team member as probable bug settings-editor VS Code settings editor issues settings-search Settings editor remote search provider issues
Projects
None yet
Development

No branches or pull requests

2 participants