Ask Your Question
1

Tracking variable references in f-strings

asked 2021-01-02 06:42:48 -0500

Michael's avatar

updated 2022-02-25 09:00:13 -0500

I filed a bug report yet, but because it might be of interests for others too (and I've been bitten again), I would like emphasize the issue here again:

I'm using f-strings more and more. Up to now, Wing is not able to track variables in a comprehensive way, if they are used inside f-strings. This affects all tools: "Find Points of use", refactorings (renames!) etc.. The syntax highliter OTH 'sees' variables in f-strings (but of course also functions of them there only as a single entity). But perhaps this could be utilized for complete detection of this references. In my opinion, a solution of the problem is quite important for any non-trivial (yet by scope alone) refactoring usage.

edit retag flag offensive close merge delete

2 Answers

Sort by » oldest newest most voted
0

answered 2021-01-04 09:32:34 -0500

Yes, this is something we hope to address soon.

edit flag offensive delete link more

Comments

Any progress with this issue? I am hoping for this enhancement also.

Barry Mossman's avatar Barry Mossman  ( 2022-02-24 19:13:54 -0500 )edit

This should work in Wing 8. If you are still having problems with it, please let us know.

Wingware Support's avatar Wingware Support  ( 2022-02-25 08:59:57 -0500 )edit
0

answered 2022-02-26 21:16:55 -0500

Barry Mossman's avatar

I was unaware of Wing version 8. I have just installed it, and is looking good so far. Thanks

FYI I don't know how I missed the release of Wing 8. I searched back through email, and only see one reference to an alpha release of Wing 8. Typically the Wing app notifies me of new releases. I did not notice any notification for 8. I usually take all Wing upgrades as soon as they are issued. AFAIK I am registered for all Wing communications. The status of my non-commercial Wing licence is

Support+Upgrades: Valid through February 2024

I have now upgraded to v8 without issue, so I have no complaint there. It is just surprising to me that I was unaware of your new release that was released 5+ months ago. Maybe my fault somehow, but ...

edit flag offensive delete link more

Comments

What version of Wing did you have that was not announce Wing 8? It does seem to manage to talk to our server so I'm surprised it isn't telling you about Wing 8. Thanks for letting us know about this!

Wingware Support's avatar Wingware Support  ( 2022-02-27 21:15:14 -0500 )edit

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Question Tools

3 followers

Stats

Asked: 2021-01-02 06:42:48 -0500

Seen: 2,139 times

Last updated: Feb 26