-
Notifications
You must be signed in to change notification settings - Fork 0
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
"Rewrap text" is useless #14
Comments
Hello, thanks for reporting this issue. I could indeed reproduce it with the current marketplace version but this seems to have been fixed if you use the staging branch. Could you please try this again with the staging version and confirm if this fixes your problem? |
Sorry, still broken with the vsix I just grabbed from github. |
Rewrapping is handled by an external extension. On my setup I'm using stkb.rewrap version 1.16.3. Could you please share with us the logs from this command, which prints out the list of extensions you have installed: With my rewrap extension, The option "Rewrap Comment/Text" is part of the command prompt (ctrl+shift+p). I do not have it in the contextual menu. Maybe you have a different extension than me? Additionally, please send us your Rewrap extension's settings. From the extension panel, right click the extension, then "Extension Settings". A screenshot of the User and Workspace settings would do. I'm using the default settings. |
Confirmed that I have I'd actually forgotten that was a separate plugin, not integrated into vscode. I've uninstalled the old bitbake plugin and am using a vsix from github as of last week. From my very bad knowledge of VS Code and every less F#, it looks like Sources: https://github.com/stkb/Rewrap/blob/6a27098e20baf95759c621a5cc1cd9b3fedbd9ed/vscode/src/CustomLanguage.ts#L70 for the plugin reading other plugin's configuration files, and https://github.com/stkb/Rewrap/blob/6a27098e20baf95759c621a5cc1cd9b3fedbd9ed/core/Parsing.Documents.fs#L45 showing that if |
An idea came to me. When you installed the .vsix from github, did you first uninstall the market place one? Because they have different identities for now, they will conflict if both are installed at the same time. So maybe you keep observing the behavior of the previous version. |
The "rewrap text" command is basically pointless in bitbake mode.
Paste the following into a recipe or other file in BitBake mode:
Move the cursor to the comment line and press 'Rewrap Comment/Text", you'll get this:
That is not useful. Repeating the same test in 'Shell Script' mode produces the expected output:
The text was updated successfully, but these errors were encountered: