vscode-better-align
vscode-better-align copied to clipboard
Align code by any characters
Hi? I've only managed to align comments starting with //.
How can I allow for other characters, such as # ?
Could you please show somes examples? Maybe it's not supported yet.
Here's an example with R, where I'd want to align by #
library(readtext) # handling plain and formatted text files
library(magrittr) # command-chaining
The default comment is //, but seems now it can be changed in different languages. I think it can be supported.
Ok, thanks.
Is that something I need to tweak on my end, or should I wait on you to add the feature?
Just wait. I will add this.
+1 to this. In VHDL assignment operators have two forms: := and <= and it's pretty standard to have code aligned like this:
a_name <= '1';
b_sig <= '0';
c_s <= "001";
Also, comments start with --.
Thanks for the feedback, I found it's harder than I thought, but I will investigate this.
+1 here. In SQL, you might want to align using AS:
SELECT
XXX AS YY
AAAAAA AS BB
FROM
TTT
I also need this performance, especially in python and shell code.
+1 to this. In VHDL assignment operators have two forms:
:=and<=and it's pretty standard to have code aligned like this:a_name <= '1'; b_sig <= '0'; c_s <= "001";Also, comments start with
--.
have anyone figure out how to fix this?
您好,您的邮件我已收到,我会尽快给您回复,谢谢!