autohotkey-plus icon indicating copy to clipboard operation
autohotkey-plus copied to clipboard

Cursor follow not supported

Open ElectroLund opened this issue 5 years ago • 5 comments

https://github.com/microsoft/vscode/issues/111823

Is this feature not enabled?

ElectroLund avatar Dec 04 '20 22:12 ElectroLund

Seems to work ok for me. VSC1.51.1, AHK-Plus 2.6.1.

fade2gray avatar Dec 05 '20 11:12 fade2gray

Huh, weird. Not working for me. And fails on two different machines with settings synced.

I'm now up to VSC1.52.1, AHK-Plus 2.6.2

ElectroLund avatar Dec 21 '20 21:12 ElectroLund

What works for me:

The cursor is followed in the editor when single-clicking under outline. The cursor is followed under outline when double-clicking in the editor.

fade2gray avatar Dec 22 '20 12:12 fade2gray

Ah, eureka! Your are correct. It requires a double-click in the editor, but also on the function/method label (for me anyway). Double-clicking anywhere inside the function is not enough. At least there's partial support.

For the record, this is not default behavior in other languages. In C, for instance, if you simply navigate in the editor into a new function block, the outline will dynamically update. This is faster as it requires less intentional double-clicking.

ElectroLund avatar Dec 22 '20 14:12 ElectroLund

If you want this issue fixed, please open an issue in my fork, and I'll look into it! It is published in VS Code as "AutoHotkey Plus Plus", and it includes all the features of this extension, plus some bugfixes and readability enhancements.

mark-wiemer avatar Feb 05 '21 21:02 mark-wiemer