Skip to content
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

Provides more code formatting features. #60

Open
wants to merge 4 commits into
base: main
Choose a base branch
from

Conversation

Gerrnperl
Copy link

尝试添加了一些代码格式化功能,提供不同的对齐方式以及一些大小写的格式化。

Peek 2023-12-31 22-05

- 添加两个新的代码对齐选项
	- `label`: 指令对齐到标签
	- `indent`: 只缩进代码
	- `segment`: (原有功能) 段内指令对齐

- 在非`segment`模式下,分组对齐以空行、注释等分隔的变量
- 提供寄存器、指令、伪指令、运算符的格式化
- 可以选择是否在逗号后添加空格
- 对齐单行注释到下一行的指令
- 添加了格式化的配置及相关nls
- 加载配置
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant