Retrieving per-language settings with the extensions API #20190
Labels
api
config
VS Code configuration, set up issues
feature-request
Request for new features or functionality
Milestone
VSCode version 1.9
Is there an official way to do this yet? For example given this settings.json and I want the
editor.rulers
setting for javascript:Using
workspace.getConfiguration('[javascript]') ...
doesn't seem to work.I've found that
workspace.getConfiguration().get('[javascript]')
will give me an object for the whole section, which I can work with, but I don't know if there's a better way.The text was updated successfully, but these errors were encountered: