Comments (6)
Using workbench.action.inspectContextKeys
I found that the terminalCount
flag is 1, even with no terminals open.
I also found other parameters which, for the moment, I'm using as a proxy for terminalIsOpen
since they still work:
!terminalShellType && !terminalGroupCount
from vscode.
It seems that terminalIsOpen is only true if a terminal has never been opened.
thanks for the report, if your statement above is true, I'd expect terminalsOpen:false
after following these steps. But for me, it is true.
- create a terminal
- kill it
- create a terminal
- value of
terminalIsOpen:true
from vscode.
that keybinding works for me. i'd suggest using the command: Developer: Toggle Keyboard Shortcuts Troubleshooting
to see what your issue could be
Screen.Recording.2024-05-02.at.2.46.35.PM.mov
from vscode.
I think you've misunderstood. That is the opposite of what I said.
- create a terminal
- kill it
- create a terminal
- kill it
- value of
terminalIsOpen
should be FALSE but it's TRUE. It remains true indefinitely until the app is closed, so that my keybinding withwhen=!terminalIsOpen
can never trigger
Also see my comment about terminalCount
being 1 even though all terminals are closed. That may be reproducible as well. I was able to reproduce it for all types of terminal I have - bash, pwsh, cmd, and a few others.
This just started after updating vscode today. I've been using these keyboard shortcuts without issue for over a year, so it's hard to see how this problem could be anything other than a vscode regression.
from vscode.
vscodeTerminalIssue.webm
from vscode.
The bug is still closed despite the labels.
from vscode.
Related Issues (20)
- Process related to TypeScript starts regularly and consumes a lot of resources. HOT 1
- Terminal does not render underscore HOT 1
- I face window not respond problem HOT 2
- Force vs code to always open files in the left panel/editor HOT 1
- The JS/TS language service immediately crashed 5 times HOT 2
- Allow to cancel a file save without showing error HOT 1
- Single replace (in find editor widget) not working with regex pattern using lookbehind HOT 1
- Shortcut for Selecting Placeholder Text in Snippets HOT 2
- The codes are not running
- Improve VSCode SecretStorage documentation to highlight capablities and limitations HOT 2
- Open file/folder crashes VS Code in Ubuntu 24.04 HOT 7
- Add right click Duplicate File context menu option to File Explorer HOT 2
- Offer to move VS Code to the Applications folder HOT 4
- Can arrow symbol formatting be brought to non-mac devices?
- Broken Settings Editor Actions HOT 1
- TypeError: uri.with is not a function
- Remote SSH causes memory leak and crash on host machine
- StatusBarItem API: Add internal command to show the hover/tooltip HOT 2
- Add a VS Code API for making HTTP(S) requests HOT 1
- Allow multi-select on vs code extension for playwright HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from vscode.