Tooling-added opens are placed above top-level #
-directives in scripts when top-level insertions are set
#8514
Labels
Area-LangService-CodeFixes
Code fixes associated with diagnostics
Feature Improvement
Impact-Medium
(Internal MS Team use only) Describes an issue with moderate impact on existing code.
Milestone
See the following:
Since the setting for inserting suggested
open
statements is set to top-level, it places it at the top of the file.However, it could be argued that
#r
/#load
-directives are special, and "top-level"open
statements should go below them.Note that if top-level is not set in settings, then it will place
open
statements below these declarations. However, this will also placeopen
s within the nearest scope.The text was updated successfully, but these errors were encountered: