First time here? Check out the FAQ!
1

Tracking variable references in f-strings

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.

Michael's avatar
171
Michael
asked 2021-01-02 06:42:48 -0500
Wingware Support's avatar
4k
Wingware Support
updated 2022-02-25 09:00:13 -0500
edit flag offensive 0 remove flag close merge delete

Comments

add a comment see more comments

2 Answers

0

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 ...

BarryM's avatar
25
BarryM
answered 2022-02-26 21:16:55 -0500
edit flag offensive 0 remove flag delete link

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
add a comment see more comments
0

Yes, this is something we hope to address soon.

Wingware Support's avatar
4k
Wingware Support
answered 2021-01-04 09:32:34 -0500
edit flag offensive 0 remove flag delete link

Comments

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

BarryM's avatar BarryM (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
add a comment see more comments

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account. This space is reserved only for answers. If you would like to engage in a discussion, please instead post a comment under the question or an answer that you would like to discuss.

Add Answer