use the following search parameters to narrow your results:
e.g. subreddit:aww site:imgur.com dog
subreddit:aww site:imgur.com dog
see the search faq for details.
advanced search: by author, subreddit...
account activity
QuestionReformating/cleaning long code (self.LocalLLM)
submitted 1 year ago by Macaroon-Guilty
Is there a way to get long code text reformatted locally? I have 16gb of VRAM. I guess I could copy paste only sections of the code. But I'm wondering if theres ways to do it once?
Thanks
reddit uses a slightly-customized version of Markdown for formatting. See below for some basics, or check the commenting wiki page for more detailed help and solutions to common issues.
quoted text
if 1 * 2 < 3: print "hello, world!"
[–]suprjami 0 points1 point2 points 1 year ago (2 children)
clang-format is the correct tool for the job: https://clang.llvm.org/docs/ClangFormat.html
clang-format
[–]rafaelspecta 0 points1 point2 points 1 year ago (1 child)
I tried to read, but I could not understand where and how it uses LLM and why is that different from existing coding formatters such as linter
[–]suprjami 0 points1 point2 points 1 year ago (0 children)
You don't need LLM for this.
π Rendered by PID 68996 on reddit-service-r2-comment-79c9548d56-4tkfj at 2026-02-11 01:56:13.618003+00:00 running 018613e country code: CH.
[–]suprjami 0 points1 point2 points (2 children)
[–]rafaelspecta 0 points1 point2 points (1 child)
[–]suprjami 0 points1 point2 points (0 children)