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

Toggle Editing Mode #30

Closed
muellerkyle opened this issue Aug 15, 2016 · 10 comments
Closed

Toggle Editing Mode #30

muellerkyle opened this issue Aug 15, 2016 · 10 comments
Labels
depends on Depends on issues from VS Code enhancement
Milestone

Comments

@muellerkyle
Copy link

Would it be possible to add the capability to place the opened file into edit mode when a bookmark is added?

To be more clear:

  1. Open a project with multiple files.
  2. Click on a file and add a bookmark without making any other edits. The file will be listed with the file name in italics
  3. Click on another file
  4. The file gets closed (yet the bookmark does persist)

Could we have the option so that the file is placed into edit mode and does not get closed when a bookmark is added?

@alefragnani
Copy link
Owner

Hi @muellerkyle ,

I get it 👍 I don't know if there is an API for that, but I will take a look. If yes, I could add a config for that.

@alefragnani alefragnani added enhancement depends on Depends on issues from VS Code labels Aug 16, 2016
@alefragnani
Copy link
Owner

Depends on microsoft/vscode#10568

@muellerkyle
Copy link
Author

Somehow I missed responding to your update. Apologies for that!

I see the ticket that you opened with vscode. It may be of interest to note that I originally logged this as a requested feature with the vscode team and was directed to see if I could get you to implement it.

This seems to be stuck in a loop. See Tyriar's response below mine.

See: microsoft/vscode#224 (comment)

@alefragnani
Copy link
Owner

Hi @muellerkyle, no problem about that 👍

I understand you concern, but I don't see a loop here. My issue to force a document to be pinned is still open.

Tyriar's suggested to you to open an issue here because, since this extension is not a core extension, he could not be responsible to update the extension (unless of course via PR, which would be wellcome 😄 ). But in fact, the issue is a bit different. We don't want to make openned files to be automatically pinned, but in fact, pin an already openned document.

So, we still have to wait. Unfortunatelly there is no milestone assigned.

Maybe you could turn off preview tabs ("workbench.editor.enablePreview": false) in the meantime.

@muellerkyle
Copy link
Author

Hi alefragnani,

There seems to have been some progress on this item on the VS Code repo.

Any chance that you could add this after the next drop from their side?

Thank you!

@alefragnani
Copy link
Owner

Hi @muellerkyle , that's the idea 😄

@muellerkyle
Copy link
Author

Thanks @alefragnani !

@muellerkyle
Copy link
Author

Hi alefragnani,

I have come back around to VS Code and noticed that you got this fix in, but issue # 74 seems to have broken the fix.

I checked the API for VS Code and I think that there is a workable compromise that keeps the fix for issue #74 in tact.

I've cloned your repo and will put in a pull request so that you can see the change.

Thank you!

@alefragnani
Copy link
Owner

Hi @muellerkyle ,

If probably happened caused by a VS Code API change, reverting the preview default value, because when I updated the code, I'm pretty sure it worked just fine. I even commented that 😄 .

Anyway, I will take at your PR and see how it goes. If everything is fine, I will push an update next weekend.

Hope this helps

@muellerkyle
Copy link
Author

muellerkyle commented Jan 17, 2018 via email

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
depends on Depends on issues from VS Code enhancement
Projects
None yet
Development

No branches or pull requests

2 participants