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)
- Sorry, we're not going to make any changes in the icon sizing / positions. This is how it grew historically.
- Slow Execution of Git commands HOT 4
- Cannot download VS Code on Chromebook
- Unable to stop read aloud in Github copilot chat window HOT 2
- Refactor the virtual model creation logic inside of the moveLinesCommand file
- Built-in terminal is messing up with cursor position
- The JS/TS language service crashed 5 times in the last 5 minutes
- Semantic Tokens for TypeScript Template Literal Strings
- Text is rendered behind white boxes in certain menues HOT 2
- [054] potential listener LEAK detected, having 401 listeners already. MOST frequent listener (43):
- Double Clicking In Tab Panel Opens New Text File
- Dialog boxes open up (hidden) behind main app display HOT 3
- Error while fetching extensions. XHR failed.
- Configured terminal environments aren't used by tools
- JS/TS Service crash
- Cannot Add Multiple Lines in Terminal Search Using Ctrl+Enter HOT 2
- Workbench > issue Activity bar location top
- in search file by name (go to file) "@" is symbol not working with specified file
- Ctrl goes to top of page HOT 1
- JS/TS language features crash repeadely and never recover
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.