Chris Curvey's profile - activity
| 2025-04-08 12:33:24 +0000 | marked best answer |
per-project themes?
Is there a way to have Wing change the theme/color scheme based on the project? Here's my use-case. I have two development directories, each with an associated Wing project. One is my primary development branch, where I'm dealing with day-to-day things. The other is a branch where I'm making major changes. I'd like Wing to give me an obvious visual signal of which project I'm working on, so that I stop making my day-to-day bug fixes on the "major change" project. |
| 2025-04-02 13:16:52 +0000 | asked a question |
per-project themes?
per-project themes? Is there a way to have Wing change the theme/color scheme based on the project? Here's my use-case. |
| 2024-11-05 11:29:49 +0000 | received badge | Famous Question (source) |
| 2024-11-05 11:29:49 +0000 | received badge | Notable Question (source) |
| 2024-10-28 10:54:00 +0000 | answered a question |
Visually distinguish/protect files in site-packages?
If you can distinguish the files that are in site-packages, it would be great to identify them in the exceptions tool. |
| 2024-10-03 10:34:49 +0000 | received badge | Enthusiast |
| 2024-10-03 10:02:01 +0000 | received badge | Popular Question (source) |
| 2024-10-02 12:04:04 +0000 | commented question |
pipenv with .env file?
Down the rabbit hole we go! When I'm using the code outside of Wing, I enable the environment using pipenv shell. (Not |
| 2024-10-01 15:24:02 +0000 | received badge | Commentator |
| 2024-10-01 15:24:02 +0000 | commented question |
pipenv with .env file?
in my .env file, i have DATABASE_URL=export DATABASE_URL=postgres://myuser:mypass@localhost:5436/mydb If I run this scr |
| 2024-09-29 13:53:26 +0000 | asked a question |
pipenv with .env file?
pipenv with .env file? I use pipenv with PIPENV_VENV_IN_PROJECT = 1, so my "activate" file lives at /home/chr |
| 2024-09-23 21:04:04 +0000 | marked best answer |
block-select modifier key?
is there a modifier or key sequence to put wing (Default keybindings) into "block select" mode? for example, I want to highlight and remove all the DEBUG: marks from the following log
|
| 2024-09-23 21:03:59 +0000 | received badge | Notable Question (source) |
| 2024-09-23 21:03:59 +0000 | received badge | Popular Question (source) |
| 2024-08-13 17:38:07 +0000 | asked a question |
block-select modifier key?
block-select modifier key? is there a modifier or key sequence to put wing (Default keybindings) into "block selec |
| 2024-07-21 14:38:53 +0000 | received badge | Famous Question (source) |
| 2024-05-24 12:16:52 +0000 | marked best answer |
block comments and Black
has anyone found a block comment style that "Plays nice" with the Black formatter? Every time I comment out a block of code while debugging, Black does nasty and inconsistent things with the indentation of that block. This seems more like a Black issue than a Wing issue (why is it reformatting comments anyway), but I thought I'd see if anyone else in the community has solved this. |
| 2024-05-24 12:16:46 +0000 | received badge | Notable Question (source) |
| 2024-05-05 15:14:51 +0000 | received badge | Popular Question (source) |
| 2024-04-07 13:58:33 +0000 | asked a question |
block comments and Black
block comments and Black has anyone found a block comment style that "Plays nice" with the Black formatter? |
| 2023-12-04 13:19:48 +0000 | answered a question |
Automatic python module header
let's see... If I make my snippet look like this: __author__ = "%(MYNAME||$(USERNAME))s" I can't quite figure |
| 2023-12-04 12:22:19 +0000 | answered a question |
Automatic python module header
I think what you're looking for is "every time I create a new python file, populate it with a standard template.&qu |
| 2023-04-25 14:25:14 +0000 | received badge | Notable Question (source) |
| 2023-04-25 14:25:14 +0000 | received badge | Famous Question (source) |
| 2023-04-25 14:25:14 +0000 | received badge | Popular Question (source) |
| 2022-05-05 14:56:29 +0000 | received badge | Nice Question (source) |
| 2022-05-05 14:34:46 +0000 | marked best answer |
search in selected -> 0 matches in 0 files
I'm having a recurring problem with Wing across lots of versions (since v6) and lots of projects. (And on lots of different computers). I go into the Project tool, right click on a directory, and choose "Search In Selected". Then I will search for a string. But sometimes the string (which I know exists) will not be found. And if I look at the top of the search-in-files tool, it will say "Found 0 matches in 0 files". If I go back to the Project tool and choose the parent directory of where I was searching...voila, it finds everything I was looking for. Am I the only one having this problem? |
| 2022-04-30 14:24:46 +0000 | received badge | Famous Question (source) |
| 2022-03-15 05:15:01 +0000 | received badge | Popular Question (source) |
| 2022-03-15 05:15:01 +0000 | received badge | Famous Question (source) |
| 2022-03-15 05:15:01 +0000 | received badge | Notable Question (source) |
| 2022-01-31 11:23:18 +0000 | received badge | Notable Question (source) |
| 2022-01-28 02:51:52 +0000 | marked best answer |
django shell and wingdbstub
my current client runs scripts against their Django site using this pattern
If I put this in my script file
and set a breakpoint at "print", I see that Wing switches into debug mode, but it does not stop at the breakpoint. Any known issues with trying to use this pattern? UPDATE: strange...if I have more advanced code in there, and it raises an exception, Wing stops at the exception...but still does not respect the breakpoint. UPDATE 2: I think I see what's happening. Because the script itself is just "stdin" (due to the redirect), the "import wingdbstub" gets run, but then there no knowledge of what's in the script itself. |
| 2022-01-26 16:28:53 +0000 | edited question |
django shell and wingdbstub
django shell and wingdbstub my current client runs scripts against their Django site using this pattern $ python manag |
| 2022-01-26 16:14:57 +0000 | edited question |
django shell and wingdbstub
django shell and wingdbstub my current client runs scripts against their Django site using this pattern $ python manag |
| 2022-01-26 16:10:36 +0000 | asked a question |
django shell and wingdbstub
django shell and wingdbstub my current client runs scripts against their Django site using this pattern $ python manag |
| 2022-01-24 16:16:41 +0000 | marked best answer |
pep8 reformatter configuration?
I seem to recall that Wing delegates reformatting to an outside executable (pep8, black, yapf, etc) , and that there's a configuration panel for the reformatters, but I can't find it. Can anyone point me in the right direction? UPDATE: TL;DR - can we change the Long Version: My organization requires code to pass a
to
And then
The "sometimes" part is interesting. After the reformatting, Now that I look into it, the docs say that
And if I dig into the docs for |
| 2022-01-18 19:07:34 +0000 | received badge | Popular Question (source) |
| 2022-01-12 15:40:38 +0000 | edited question |
pep8 reformatter configuration?
pep8 reformatter configuration? I seem to recall that Wing delegates reformatting to an outside executable (pep8, black |
| 2022-01-12 15:19:16 +0000 | received badge | Editor (source) |
| 2022-01-12 15:19:16 +0000 | edited question |
pep8 reformatter configuration?
pep8 reformatter configuration? I seem to recall that Wing delegates reformatting to an outside executable (pep8, black |
| 2022-01-07 12:51:32 +0000 | asked a question |
pep8 reformatter configuration?
pep8 reformatter configuration? I seem to recall that Wing delegates reformatting to an outside executable (pep8, black |
| 2021-10-11 17:14:17 +0000 | marked best answer |
Remote debugging on Heroku
For today's adventure, I'm going to try setting up remote debugging on a Heroku dyno. If anyone has gotten this to work (or determined that it will not work), I'd love to hear about it. So here's what I've found so far. I found instructions on SSH tunneling to my dyno at https://devcenter.heroku.com/articles.... Heroku does not permit a straight "ssh" command, but it does have a command to set up port forwarding from the local host to the dyno. ( So I think the set of steps that I will need is:
Do I need to add some base level of Wing code (the "remote" stuff) into my git repo so that it gets installed on the dyno? |
| 2021-10-11 17:14:10 +0000 | received badge | Notable Question (source) |
| 2021-10-05 11:36:53 +0000 | received badge | Popular Question (source) |
| 2021-09-30 16:44:50 +0000 | commented question |
Remote debugging on Heroku
hmm...I'm trying to make sure I can make this work locally before I add the remote complication. Put "import wingd |
| 2021-09-30 15:50:40 +0000 | commented question |
Remote debugging on Heroku
okay, so how would I do that? Is it add "import wingdbstub" somewhere in my server code where it gets process |
| 2021-09-30 12:49:00 +0000 | asked a question |
Remote debugging on Heroku
remote debugging on Heroku For today's adventure, I'm going to try setting up remote debugging on a Heroku dyno. If an |
| 2021-09-22 14:19:09 +0000 | marked best answer |
how to clear file magnification (aka zoom) settings?
Wing does a nice job of remembering what my "zoom" settings were for each file in my project. Very slick. But of course, I'm never satisfied! Is there a way for me to say "clear all the zoom settings for the different files and just go back to whatever is set in my preferences?" |