codeapp icon indicating copy to clipboard operation
codeapp copied to clipboard

Document formatting

Open onebyter opened this issue 3 years ago • 7 comments

我添加了一个格式化代码快捷键(format documents ),但它似乎不生效

onebyter avatar May 21 '22 08:05 onebyter

I added a formatted code keyboard shortcut, but it doesn't seem to work.

onebyter avatar May 21 '22 08:05 onebyter

What document are you trying to format?

bummoblizard avatar May 21 '22 08:05 bummoblizard

For example, I have written a piece of code now, but I don't think the layout and spacing of these codes meet the specifications of c++ or Java, so I added a keyboard shortcut named format documents, but it didn't work. The problem is almost like this.

onebyter avatar May 21 '22 09:05 onebyter

Document formatting only supports TypeScript, JavaScript, HTML, CSS and JSON for now.

bummoblizard avatar May 22 '22 02:05 bummoblizard

Is there any plan to arrange code formatting support for C and Java codes? Thank you very much.

onebyter avatar May 22 '22 02:05 onebyter

I think getting support for C is possible as the compiler runs local. I'm not sure about Java as it doesn't run locally.

bummoblizard avatar May 22 '22 02:05 bummoblizard

I look forward to the launch of C's formatting function, and thank you for your work. If possible, can this function be launched this year?

onebyter avatar May 22 '22 02:05 onebyter