Rich Chiodo

Results 624 comments of Rich Chiodo
trafficstars

Would this be pylance or python? Not sure which extension provides the rename symbol command.

The middleware layer is being deprecated (and well never handled this sort of thing anyway). Might be something to do in pylance itself.

Another repo, have two cells in a notebook like so: ``` raise Exception('fail') ``` ``` print('stuff') ``` Second cell will be marked as unreachable ![image](https://user-images.githubusercontent.com/19672699/150883895-b4aaff4d-33c5-4a24-9003-974869c04557.png)

I believe 'quick fixes' are code actions, right? These are not supported because they require the real file to exist. I believe this would require pylance to understand the notebook...

If I remember correctly the code actions returned a command that then went back into the pylance extension. The pylance extension is of course confused at that point because the...

Code actions are completely canceled in the notebook case. Because the commands when I had them there would just throw exceptions. I don't think we can rewrite them too because...

Here's the smaller log [pylance2.txt](https://github.com/microsoft/pylance-release/files/8742078/pylance2.txt) :

This would require forwarding the module changes to pylance. Not sure we want to do that? Pylance would think that edits had happened to the original file.

Very weird. Only repros with the cross project reference. Otherwise rename works fine.