Skip to content

appModule for VS Code to disable browse mode by default#9828

Merged
feerrenrut merged 1 commit into
nvaccess:masterfrom
BabbageCom:vsCode
Jul 1, 2019
Merged

appModule for VS Code to disable browse mode by default#9828
feerrenrut merged 1 commit into
nvaccess:masterfrom
BabbageCom:vsCode

Conversation

@LeonarddeR

Copy link
Copy Markdown
Collaborator

Link to issue number:

None

Summary of the issue:

Visual Studio Code's primary goal is editing source code. However, as it is an electron app, browse mode is enabled by default.

Description of how this pull request fixes the issue:

Browse mode is now disabled by default on the appModule level.

Testing performed:

Tested that browse mode stays off by default in VS Code.

Known issues with pull request:

None

Change log entry:

  • Changes
    • In Microsoft Visual Studio Code, browse mode is now off by default.

Cc @bramd

@LeonarddeR LeonarddeR requested a review from feerrenrut June 27, 2019 11:23
@feerrenrut feerrenrut merged commit 480950f into nvaccess:master Jul 1, 2019
@nvaccessAuto nvaccessAuto added this to the 2019.3 milestone Jul 1, 2019
feerrenrut added a commit that referenced this pull request Jul 1, 2019
@bramd

bramd commented Jul 1, 2019

Copy link
Copy Markdown
Contributor

@LeonarddeR Thanks, now I can delete the appModule I wrote for this.

By the way, I think as it is now, that browse mode is also not triggered for content that is explicitly set to have a document role. For example, in some parts of VS Code it is nice to have browse mode by default, documentation/release notes/extension pages etc which are rendered as HTML documents.

@LeonarddeR

LeonarddeR commented Jul 1, 2019 via email

Copy link
Copy Markdown
Collaborator Author

LeonarddeR added a commit that referenced this pull request Mar 31, 2020
feerrenrut pushed a commit that referenced this pull request Apr 30, 2020
This reverts commit 480950f.

Removes the no-longer needed code.py appmodule.
Follow up of #10903 (removed the no-longer needed code - insiders.py appmodule)
Reverts #9828 (creating the code.py appmodule)

Changes to VS Code fixing #10888 have now made it stable. Therefore, remove the appModule which worked around these issues.
Note: Users can continue to force disable browse mode by default using a profile automatically triggered when entering vsCode that unchecks "Enable browse mode on page load" on the browse mode settings panel.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants