#indent

2026-02-27

Интеграция утилиты Artistic Style в скрипт сборки прошивки

Есть утилита для автоматического выравнивания отступов в исходных кодах. Называется astyle.exe. В этом тексте я покажу, как работать с утилитой Astyle.

habr.com/ru/articles/1004610/

#Artistic_Style #astyle #codestyle #indent #indentation

2024-08-02

Автоматическое Выравнивание Отступов в Исходниках (clang-format + Make)

Есть такая тема, как автоматическое выравнивание отступов в исходных текстах программ на Си или С++. Притом для этого есть специальные утилиты. Например clang-format или GNU indent . В этот тексте я написал как встроить процесс выравнивания исходных кодов прямо в систему сборки проекта. Просто в одно касание и выровнять, и собрать бинари.

habr.com/ru/articles/833500/

#clang #clangformat #make #makefile #sed #grep #bash #indent #devops #gnu

Claire McDadeClaireM
2022-11-06

@nolovedeeplearning

Hi I'm one of the newbies here. Can you explain what you mean please?

What are ?

and what does

your mean?
Thanks

antonio vergarinolovedeeplearning
2022-11-06

tooters, 500 chars are sweet but use your pls 🙏

your

2022-05-07
I moved to maeve@elditch.cafesid@tilde.zone
2021-12-31

In case you're required to #indent code of projects using tabs, don't panic.

Autoformat will efficiently combine copious, consecutive keystrokes of your spacebar, into tabs

2020-10-18

#indent
Tabを使うな
IDEのデフォルトが空白なので変更した

2019-08-07

#hidemarueditor
#indent
#automation

秀丸の自動変更
オフにする方法を見つけるか

IDEのエディタは「残念」なので作業効率は悪い

2019-08-07

#hidemarueditor
#indent
#automation

C言語ファイル
に対する自動インデントをオフにしても
自動的な変更が走る

別の設定なんだろう

2019-08-07

#hidemarueditor
#setup
#indent
#automation

行頭に空白が勝手に入って困る
htom.in.coocan.jp/hmfaq8/HME00

コミットが荒れるので自動は嫌だな

2019-04-23

qiitadon.com/web/statuses/1019

spaceインデント:
後でtabインデントにできない

tabインデント:
後でspaceインデントにできる

という違いはあるが
GitHubやBitBucket上のくずれや8タブ設定などの可読性の悪さなどの観点ではtabインデントは良いのかどうか?

#indent
#difference

👨‍💻 Ben, C player 🎄dihmon@spacetime.social
2018-10-26
Now I can imagine how difficult it was for them to write that Unix program, #indent. I'm trying to do something very similar, on my own, and despite the oversimplified goal and Python as implementation language, it makes my hair fall out #coding
2018-10-24

#trap
#Qiita
#indent

1. IDEで実装
2. Qiitaへ投稿
3. Qiitaで修正
4. IDEにコピペ
5. IDEで修正

空白インデントとタブインデント周りで不統一が起きる。

注意。

2018-09-14

#indent

タブインデントは空白インデントに置換可能。
空白インデントはタブインデントに置換するとき、意図しない部分の置換も起きるかも。

空白インデントに統一することになるのか。

2018-09-14

#documentation
#format
#indent

タブインデントと空白インデントが混在するソースはMarkdownにすると明確におかしくなる。

インデントを統一してからMarkdownにするなどの工夫が必要だろう。

Client Info

Server: https://mastodon.social
Version: 2025.07
Repository: https://github.com/cyevgeniy/lmst