sticky lines
已回答
OK, I really like it! Something I've been wanting for things like HTML blocks (envelopes) for a long long time. But why does it stop at function blocks in code like php or javascript? (it ignores things like conditional blocks and loop blocks - folding doesn't ignore those but the sticky lines do. I would think they would follow the same nesting strategies)
SW
请先登录再写评论。
OK, this is just - wtf? I noticed (reminded myself) that if I find the closing ‘}’ of any block it will throw a pop-over with the code and line number similar to the sticky lines - the problem? If you try to click on it, it vanishes as soon as the mouse gets to it! Stop taunting me!! lol
SW
We don't support conditional blocks and loop blocks in sticky lines currently.
Please vote for the related issue here: https://youtrack.jetbrains.com/issue/IJPL-984/Sticky-Lines-provide-fine-grained-settings
> I noticed (reminded myself) that if I find the closing ‘}’ of any block it will throw a pop-over with the code and line number similar to the sticky lines - the problem?
When you hover over the editor gutter near the }, the IDE will try to show a preview of the start of the folding block. If you click there directly, the IDE will try to fold it there.
If the mouse is moved, the IDE will remove this preview.
@Josephasmith1310 We don't support sticky lines for HTML blocks like conditional blocks and loop blocks.
Please vote for https://youtrack.jetbrains.com/issue/IJPL-984