You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This is located in src/utilities.ts. Currently if no editors are open, but the bottom pane is open with, for example, the Output -> Tasks pane showing, then the document returned from getDocument has a .uri.fsPath of tasks. This function should only return an editor whose document is an actual file.
This may be best accomplished by filtering visible text editors by languageId. (It's Log when the document.uri.fsPath is tasks.)
The text was updated successfully, but these errors were encountered:
bpringe
changed the title
Fix getDocument function to not return a document from the bottom pane (Logs etc)
Fix getDocument function to not return a Log document
Aug 28, 2020
This is located in src/utilities.ts. Currently if no editors are open, but the bottom pane is open with, for example, the Output -> Tasks pane showing, then the document returned from getDocument has a .uri.fsPath of
tasks
. This function should only return an editor whose document is an actual file.This may be best accomplished by filtering visible text editors by languageId. (It's
Log
when the document.uri.fsPath istasks
.)The text was updated successfully, but these errors were encountered: