Skip to main content

Oct
20
comment Python string.replace regular expression
Much clearer example than the chosen answer.
Oct
6
comment Is there a way to open multiple Windows for the same Working directory. VS Code
@joshhoffer Yeah, this definitely isn't what I'm looking for. I want VSCode to automatically have the capability of using other windows to hold editor panes. I don't want to duplicate the workspace.
Aug
4
comment How to disable Eclipse's behavior of maximizing editor when double clicking a tab?
I only use Eclipse when vendor products require it, and this is one of the things that make me HATE Eclipse.
Aug
4
comment How to disable Eclipse's behavior of maximizing editor when double clicking a tab?
Not what was asked for.
Mar
27
comment VS code, jump to after closing quote/braces/parenthesis
This is not what was asked and doesn't meet the need.
Mar
27
comment VS code, jump to after closing quote/braces/parenthesis
This command does NOT jump past the END of the next bracket, which is what was ASKED.
Mar
18
comment Get exception description and stack trace which caused an exception, all as a string
Python 3.12 is the last version to support cgitb.
Feb
19
comment Converting a Swagger YAML file to JSON from the command line
Maybe this worked at one time, but when I try it I get
Feb
17
comment Django: POST form requires CSRF? GET doesn't?
POST also gets used for lots of stuff that isn't sensitive, and which may be idempotent, simply because it can take a POST body.
Feb
13
comment REST APIs: custom HTTP headers vs URL parameters
Many API frameworks (e.g., OpenAPI) do not allow optional path parameters, so path parameters are not always the right solution.
Jan
24
comment Type hint for dictionary with known keys
This would mean changing the code to add type hints, which may not be desirable.
Jan
22
comment pytest overrides existing warning filters
Super irritating behavior of pytest.
Jan
21
comment Ensuring py.test includes the application directory in sys.path
While the conftest hack works, it's also a fairly pungent indictment of pytest.
Jan
10
comment VSCode keyboard shortcut for "maximize" / "normalize" window size
Yeah, I know. Then you have even more keybindings to commit to memory. And people complain about emacs... I don't hate VSCode, but so far, I'm not convinced it's better than emacs.
2024
Dec
10
comment VSCode keyboard shortcut for "maximize" / "normalize" window size
Not really maximized; it leaves the bottom (terminal etc.) pane in place.
Nov
21
comment Docker Compose network_mode and port_binding compatibility issue
Solutions that involve downgrading versions are very unlikely to stand the test of time.
Nov
21
comment Docker Compose network_mode and port_binding compatibility issue
If you want to claim it isn't necessary, explain how a nested container (such as can occur using dev_containers) can expose a port that will pass through to the OS host.
Nov
21
comment Docker compose, running containers in net:host
This is way out of date.
Nov
18
comment Select interpreter of docker container in the vscode
The people asking for a way to use the interpreter from a docker container. Go look at the comment about it working in PyCharm. PyCharm does not require that you use a development container to get syntax checking using the interpreter in a container. There are a lot of situations where you need the syntax checking to check against packages that cannot be installed natively, but you still don't want to develop against a dev container. That's what people are asking about, that PyCharm accomodates.
Nov
15
comment Select interpreter of docker container in the vscode
For example, you might want to use the interpreter from the container you are building, but it doesn't have docker or other build tools. It's really not the same idea as a dev container.
1 2 3 4 5