Skip to content
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

Comparision of this extension to vscode internal overtype mode #48

Open
GitMensch opened this issue Dec 9, 2024 · 4 comments
Open

Comparision of this extension to vscode internal overtype mode #48

GitMensch opened this issue Dec 9, 2024 · 4 comments

Comments

@GitMensch
Copy link
Collaborator

vscode 1.96 finally ships with this feature so the question did arise what the differences are.

  • vscode internal likely does not have the issue of performance (see open issues here related to this)
  • vscode-overtype features additional (if this is very important to some of you you may want to create an issue in vscode to integrate that):
    • has the icon/text for overtype configurable (with vscode it is always OVR [but I expect that to be localizable], at least in the future)
    • has the cursor configurable (with vscode it is currently always a box)
    • has the option to toggle per editor (with vscode it is globally for all editors)

Are there more differences?
How to configure this extension and/or vscode to have the overtype feature provided by this extension instead of vscode "natively"?

Please link vscode issues on overtype mode (bugs + feature requests) to this issue. Thank you!
As a reference: that's the PR that brought the feature in: microsoft/vscode#233188

@GitMensch GitMensch pinned this issue Dec 9, 2024
@mbomb007
Copy link

mbomb007 commented Dec 11, 2024

One difference is that the internal feature is toggled by the command View: Toggle Overtype/Insert Mode, whereas this extension is toggled by pressing Insert.

It's probably possible to bind the Insert key to the command? But I don't think that's the default.

@jkyeung
Copy link

jkyeung commented Dec 11, 2024

One difference is that the internal feature is toggled by the command View: Toggle Overtype/Insert Mode, whereas this extension is toggled by pressing Insert.

It's probably possible to bind the Insert key to the command? But I don't think that's the default.

I think it is the default, actually. I have an installation of VS Code where I never installed this extension, and once I updated to 1.96, the Insert key started toggling overtype, without touching any settings or keybindings.

@mbomb007
Copy link

I think it is the default, actually.

You're right. I just uninstalled the addon, and Insert works.

@DrMerfy
Copy link
Owner

DrMerfy commented Dec 13, 2024

Thanks for the overview @GitMensch! The differences between this extension and the native feature are relatively small. Arguably now that vs-code supports natively overtype, there is likely a more efficient way to provide the extra functionality that this extension is offering (cursor change, etc.) by extending the native functionality itself instead of implementing overtype from scratch.

To avoid confusion moving forward, would it be a good idea to archive this repo (now) and remove the extension from the vscode marketplace?

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

No branches or pull requests

4 participants