-
Notifications
You must be signed in to change notification settings - Fork 445
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
Preserve focus of the http editor #167
Comments
@lostfields do you want to keep the request editor focus after the response view is shown. The reason for switching to the response view is that normally users want to inspect the response directly, scroll the response page up and down. Maybe I can provide a setting to control this, do you think it's OK for you? |
yes, that would be nice - and then it's probably possible to override in workspace-settings as well? |
@lostfields yes, either user setting or workspace setting is ok |
@lostfields since response preview is in fact a webview page, and vscode doesn't allow the |
@lostfields VSCode will support this option in webview in May Release, so I will complete this as soon as it is released. |
@lostfields @jon301 @Arturock I have added a setting named |
Great news @Huachao! Thank you so much! |
@lostfields @jon301 @Arturock now you can use the new setting |
Working perfectly! Thanks! |
Pretty please preserve focus of the http/rest editor. Whenever I open a new file it opens at the right side, that is annoying.
https://code.visualstudio.com/docs/extensionAPI/vscode-api#showTextDocument
showTextDocument(document: TextDocument, column?: ViewColumn, preserveFocus?: boolean): Thenable
Set preserveFocus to true.
The text was updated successfully, but these errors were encountered: