-
Notifications
You must be signed in to change notification settings - Fork 231
Description
@tobiasmelcher asked for improvement suggestions for code minings. Here is one:
Description: Currently, when opening a file, Code Minings are calculated asynchronously and injected into the editor upon completion. If this calculation takes more than a few milliseconds, the source code shifts downward unexpectedly while the user is trying to read or edit.
Suggested Improvement: Implement layout reservation or placeholders. If possible, the Code Mining provider should immediately return an empty placeholder of a fixed height. This ensures the space is already allocated, allowing the content to fade in once the calculation is finished without moving the rest of the source code.
If the current architecture doesn't allow for pre-allocating vertical space, please feel free to close this.