home.social

#clangformat — Public Fediverse posts

Live and recent posts from across the Fediverse tagged #clangformat, aggregated by home.social.

  1. Очень много букв… Или кейс по специфической настройке рабочего окружения

    Сотни строк кода, страницы документации, корпоративные чаты — и всё это каждый день. Когнитивная нагрузка не снижается. Внутри — система инструментов, которая помогает мне не тонуть: конфиги clang и специфичные настройки VSCode, приложения визуализации и др. С объяснением зачем каждый из них.

    habr.com/ru/articles/1038372/

    #когнитивная_нагрузка #VSCode #clangformat #clangtidy #code_style #рабочее_окружение #настройка_ide #продуктивность #нейроразнообразие

  2. Очень много букв… Или кейс по специфической настройке рабочего окружения

    Сотни строк кода, страницы документации, корпоративные чаты — и всё это каждый день. Когнитивная нагрузка не снижается. Внутри — система инструментов, которая помогает мне не тонуть: конфиги clang и специфичные настройки VSCode, приложения визуализации и др. С объяснением зачем каждый из них.

    habr.com/ru/articles/1038372/

    #когнитивная_нагрузка #VSCode #clangformat #clangtidy #code_style #рабочее_окружение #настройка_ide #продуктивность #нейроразнообразие

  3. Очень много букв… Или кейс по специфической настройке рабочего окружения

    Сотни строк кода, страницы документации, корпоративные чаты — и всё это каждый день. Когнитивная нагрузка не снижается. Внутри — система инструментов, которая помогает мне не тонуть: конфиги clang и специфичные настройки VSCode, приложения визуализации и др. С объяснением зачем каждый из них.

    habr.com/ru/articles/1038372/

    #когнитивная_нагрузка #VSCode #clangformat #clangtidy #code_style #рабочее_окружение #настройка_ide #продуктивность #нейроразнообразие

  4. Очень много букв… Или кейс по специфической настройке рабочего окружения

    Сотни строк кода, страницы документации, корпоративные чаты — и всё это каждый день. Когнитивная нагрузка не снижается. Внутри — система инструментов, которая помогает мне не тонуть: конфиги clang и специфичные настройки VSCode, приложения визуализации и др. С объяснением зачем каждый из них.

    habr.com/ru/articles/1038372/

    #когнитивная_нагрузка #VSCode #clangformat #clangtidy #code_style #рабочее_окружение #настройка_ide #продуктивность #нейроразнообразие

  5. CLion comes with its own code formatter: Should you use that or clang-format? And if you chose clang-format, how do you set that up? Watch this short video to find out more. #CLion #Cpp #SoftwareDevelopment #ClangFormat #Programming #CPlusPlus

    youtube.com/watch?v=y4PZqDuBuZI

  6. CLion comes with its own code formatter: Should you use that or clang-format? And if you chose clang-format, how do you set that up? Watch this short video to find out more. #CLion #Cpp #SoftwareDevelopment #ClangFormat #Programming #CPlusPlus

    youtube.com/watch?v=y4PZqDuBuZI

  7. CLion comes with its own code formatter: Should you use that or clang-format? And if you chose clang-format, how do you set that up? Watch this short video to find out more. #CLion #Cpp #SoftwareDevelopment #ClangFormat #Programming #CPlusPlus

    youtube.com/watch?v=y4PZqDuBuZI

  8. CLion comes with its own code formatter: Should you use that or clang-format? And if you chose clang-format, how do you set that up? Watch this short video to find out more. #CLion #Cpp #SoftwareDevelopment #ClangFormat #Programming #CPlusPlus

    youtube.com/watch?v=y4PZqDuBuZI

  9. CLion comes with its own code formatter: Should you use that or clang-format? And if you chose clang-format, how do you set that up? Watch this short video to find out more.

    youtube.com/watch?v=y4PZqDuBuZI

  10. Oh, joy, clang-format 22 has compounded an existing bug where AllowShortBlocksOnASingleLine: Empty didn't work by applying the AllowShortBlocksOnASingleLine setting to functions, meaning that there is no way for us to move to clang 22 without some formatting churn.

    #llvm #ClangFormat

  11. Oh, joy, clang-format 22 has compounded an existing bug where AllowShortBlocksOnASingleLine: Empty didn't work by applying the AllowShortBlocksOnASingleLine setting to functions, meaning that there is no way for us to move to clang 22 without some formatting churn.

    #llvm #ClangFormat

  12. Oh, joy, clang-format 22 has compounded an existing bug where AllowShortBlocksOnASingleLine: Empty didn't work by applying the AllowShortBlocksOnASingleLine setting to functions, meaning that there is no way for us to move to clang 22 without some formatting churn.

    #llvm #ClangFormat

  13. Oh, joy, clang-format 22 has compounded an existing bug where AllowShortBlocksOnASingleLine: Empty didn't work by applying the AllowShortBlocksOnASingleLine setting to functions, meaning that there is no way for us to move to clang 22 without some formatting churn.

    #llvm #ClangFormat

  14. Oh, joy, clang-format 22 has compounded an existing bug where AllowShortBlocksOnASingleLine: Empty didn't work by applying the AllowShortBlocksOnASingleLine setting to functions, meaning that there is no way for us to move to clang 22 without some formatting churn.

    #llvm #ClangFormat

  15. Реализация утилиты cat на языке C

    Когда я только начинала изучать язык C, меня довольно сильно пугала его "топорность" по сравнению с другими языками. Все довольно строгое, управляемое вручную, но именно этим он и привлек меня. Потому что ощущение, будто ты напрямую разговариваешь с системой. В какой-то момент в моем поле появилась задачка: написать две утилиты линуксоидного существа cat и grep. Несмотря на то, что они кажутся довольно простыми, они оказались отличной возможностью погрузиться в работу с файлами, и понять, даже поверхностно, как работает язык C и с чем его едят. В статье постараюсь рассказать и показать ход своих мыслей и почему теперь я смотрю на консольные команды совсем иначе. В этой статье я подробно остановлюсь только на реализации утилиты cat. Что за зверь этот Cat Cat показалась мне более простой в написании, чем grep, да и частично grep строится на базе cat – тоже читает данные из файла, тоже работает со строками, но с небольшим нюансом в виде фильтрации. Что нам важно понимать на старте?

    habr.com/ru/articles/939382/

    #cat #утилита #clang #clangformat #linux #linuxутилита #утилиты

  16. Реализация утилиты cat на языке C

    Когда я только начинала изучать язык C, меня довольно сильно пугала его "топорность" по сравнению с другими языками. Все довольно строгое, управляемое вручную, но именно этим он и привлек меня. Потому что ощущение, будто ты напрямую разговариваешь с системой. В какой-то момент в моем поле появилась задачка: написать две утилиты линуксоидного существа cat и grep. Несмотря на то, что они кажутся довольно простыми, они оказались отличной возможностью погрузиться в работу с файлами, и понять, даже поверхностно, как работает язык C и с чем его едят. В статье постараюсь рассказать и показать ход своих мыслей и почему теперь я смотрю на консольные команды совсем иначе. В этой статье я подробно остановлюсь только на реализации утилиты cat. Что за зверь этот Cat Cat показалась мне более простой в написании, чем grep, да и частично grep строится на базе cat – тоже читает данные из файла, тоже работает со строками, но с небольшим нюансом в виде фильтрации. Что нам важно понимать на старте?

    habr.com/ru/articles/939382/

    #cat #утилита #clang #clangformat #linux #linuxутилита #утилиты

  17. Реализация утилиты cat на языке C

    Когда я только начинала изучать язык C, меня довольно сильно пугала его "топорность" по сравнению с другими языками. Все довольно строгое, управляемое вручную, но именно этим он и привлек меня. Потому что ощущение, будто ты напрямую разговариваешь с системой. В какой-то момент в моем поле появилась задачка: написать две утилиты линуксоидного существа cat и grep. Несмотря на то, что они кажутся довольно простыми, они оказались отличной возможностью погрузиться в работу с файлами, и понять, даже поверхностно, как работает язык C и с чем его едят. В статье постараюсь рассказать и показать ход своих мыслей и почему теперь я смотрю на консольные команды совсем иначе. В этой статье я подробно остановлюсь только на реализации утилиты cat. Что за зверь этот Cat Cat показалась мне более простой в написании, чем grep, да и частично grep строится на базе cat – тоже читает данные из файла, тоже работает со строками, но с небольшим нюансом в виде фильтрации. Что нам важно понимать на старте?

    habr.com/ru/articles/939382/

    #cat #утилита #clang #clangformat #linux #linuxутилита #утилиты

  18. Реализация утилиты cat на языке C

    Когда я только начинала изучать язык C, меня довольно сильно пугала его "топорность" по сравнению с другими языками. Все довольно строгое, управляемое вручную, но именно этим он и привлек меня. Потому что ощущение, будто ты напрямую разговариваешь с системой. В какой-то момент в моем поле появилась задачка: написать две утилиты линуксоидного существа cat и grep. Несмотря на то, что они кажутся довольно простыми, они оказались отличной возможностью погрузиться в работу с файлами, и понять, даже поверхностно, как работает язык C и с чем его едят. В статье постараюсь рассказать и показать ход своих мыслей и почему теперь я смотрю на консольные команды совсем иначе. В этой статье я подробно остановлюсь только на реализации утилиты cat. Что за зверь этот Cat Cat показалась мне более простой в написании, чем grep, да и частично grep строится на базе cat – тоже читает данные из файла, тоже работает со строками, но с небольшим нюансом в виде фильтрации. Что нам важно понимать на старте?

    habr.com/ru/articles/939382/

    #cat #утилита #clang #clangformat #linux #linuxутилита #утилиты

  19. Oh yay #clangformat updated and is now even worse

    (No this can't be fixed, give me a .clang-format file which fixes this particular case and I guarantee it'll break 10 other cases)

    #cpp #cplusplus #programming #clang #llvm

  20. Oh yay updated and is now even worse

    (No this can't be fixed, give me a .clang-format file which fixes this particular case and I guarantee it'll break 10 other cases)

  21. Oh yay #clangformat updated and is now even worse

    (No this can't be fixed, give me a .clang-format file which fixes this particular case and I guarantee it'll break 10 other cases)

    #cpp #cplusplus #programming #clang #llvm

  22. Oh yay #clangformat updated and is now even worse

    (No this can't be fixed, give me a .clang-format file which fixes this particular case and I guarantee it'll break 10 other cases)

    #cpp #cplusplus #programming #clang #llvm

  23. Oh yay #clangformat updated and is now even worse

    (No this can't be fixed, give me a .clang-format file which fixes this particular case and I guarantee it'll break 10 other cases)

    #cpp #cplusplus #programming #clang #llvm

  24. Has scientists figured out yet how to get clang-format to not bizarrely try to align chained methods?

  25. Has scientists figured out yet how to get clang-format to not bizarrely try to align chained methods? #cpp #clang #llvm #clangformat #cplusplus #programming

  26. Has scientists figured out yet how to get clang-format to not bizarrely try to align chained methods? #cpp #clang #llvm #clangformat #cplusplus #programming

  27. Has scientists figured out yet how to get clang-format to not bizarrely try to align chained methods? #cpp #clang #llvm #clangformat #cplusplus #programming

  28. It's actually wild that regardless of how much time and effort you spend trying to prevent clang-format from aligning stuff, you'll still stumble upon cases which it absolutely insists on aligning. You'd think writing a non-aligning formatter was easier than writing an aligning one?

    Worse: it occasionally aligns with tabs if you use tabs, even when you tell it to align with spaces

    #ClangFormat #clang #llvm #cpp #programming

  29. It's actually wild that regardless of how much time and effort you spend trying to prevent clang-format from aligning stuff, you'll still stumble upon cases which it absolutely insists on aligning. You'd think writing a non-aligning formatter was easier than writing an aligning one?

    Worse: it occasionally aligns with tabs if you use tabs, even when you tell it to align with spaces

  30. It's actually wild that regardless of how much time and effort you spend trying to prevent clang-format from aligning stuff, you'll still stumble upon cases which it absolutely insists on aligning. You'd think writing a non-aligning formatter was easier than writing an aligning one?

    Worse: it occasionally aligns with tabs if you use tabs, even when you tell it to align with spaces

    #ClangFormat #clang #llvm #cpp #programming

  31. It's actually wild that regardless of how much time and effort you spend trying to prevent clang-format from aligning stuff, you'll still stumble upon cases which it absolutely insists on aligning. You'd think writing a non-aligning formatter was easier than writing an aligning one?

    Worse: it occasionally aligns with tabs if you use tabs, even when you tell it to align with spaces

    #ClangFormat #clang #llvm #cpp #programming

  32. It's actually wild that regardless of how much time and effort you spend trying to prevent clang-format from aligning stuff, you'll still stumble upon cases which it absolutely insists on aligning. You'd think writing a non-aligning formatter was easier than writing an aligning one?

    Worse: it occasionally aligns with tabs if you use tabs, even when you tell it to align with spaces

    #ClangFormat #clang #llvm #cpp #programming

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

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

    habr.com/ru/articles/833500/

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

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

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

    habr.com/ru/articles/833500/

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

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

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

    habr.com/ru/articles/833500/

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

  36. @deezo nope, same result. clang-format seems to see some structure in this aggregate with designated initializers that tips the formatter over. Its a LLVM based style, minor adjustments for lambdas. #cpp #ClangFormat

  37. @deezo nope, same result. clang-format seems to see some structure in this aggregate with designated initializers that tips the formatter over. Its a LLVM based style, minor adjustments for lambdas. #cpp #ClangFormat

  38. @deezo nope, same result. clang-format seems to see some structure in this aggregate with designated initializers that tips the formatter over. Its a LLVM based style, minor adjustments for lambdas. #cpp #ClangFormat

  39. Any #cpp folks out there know how to tame clang-format with contemporary C++ ... look at the brackets for indices ... why? #ClangFormat

  40. Any #cpp folks out there know how to tame clang-format with contemporary C++ ... look at the brackets for indices ... why? #ClangFormat

  41. Any #cpp folks out there know how to tame clang-format with contemporary C++ ... look at the brackets for indices ... why? #ClangFormat

  42. Okay can someone just make a rustfmt for C++ already, I'm extremely tired of trying to configure broken formatters

    I'm just trying to OR together some bits and #uncrustify is making that extremely difficult

    If anyone knows how I can make this not absolutely terrible please do tell me because I'm out of ideas (and please don't tell me to use #clangformat, that's even worse)

    #cpp #programming

  43. Okay can someone just make a rustfmt for C++ already, I'm extremely tired of trying to configure broken formatters

    I'm just trying to OR together some bits and is making that extremely difficult

    If anyone knows how I can make this not absolutely terrible please do tell me because I'm out of ideas (and please don't tell me to use , that's even worse)

  44. Okay can someone just make a rustfmt for C++ already, I'm extremely tired of trying to configure broken formatters

    I'm just trying to OR together some bits and #uncrustify is making that extremely difficult

    If anyone knows how I can make this not absolutely terrible please do tell me because I'm out of ideas (and please don't tell me to use #clangformat, that's even worse)

    #cpp #programming

  45. Okay can someone just make a rustfmt for C++ already, I'm extremely tired of trying to configure broken formatters

    I'm just trying to OR together some bits and #uncrustify is making that extremely difficult

    If anyone knows how I can make this not absolutely terrible please do tell me because I'm out of ideas (and please don't tell me to use #clangformat, that's even worse)

    #cpp #programming

  46. Okay can someone just make a rustfmt for C++ already, I'm extremely tired of trying to configure broken formatters

    I'm just trying to OR together some bits and #uncrustify is making that extremely difficult

    If anyone knows how I can make this not absolutely terrible please do tell me because I'm out of ideas (and please don't tell me to use #clangformat, that's even worse)

    #cpp #programming

  47. Been checking out clang format a bit, trying to have it enabled for new code I write. I like it for the 98% of the stuff it gets right, but the 2% I can't configure the way I want it makes it kind of unusable to format whole documents.

    Jury's still out on if I'll keep "format when typing" enabled or not.

    #cpp #clang #ClangFormat

  48. Been checking out clang format a bit, trying to have it enabled for new code I write. I like it for the 98% of the stuff it gets right, but the 2% I can't configure the way I want it makes it kind of unusable to format whole documents.

    Jury's still out on if I'll keep "format when typing" enabled or not.

    #cpp #clang #ClangFormat

  49. Been checking out clang format a bit, trying to have it enabled for new code I write. I like it for the 98% of the stuff it gets right, but the 2% I can't configure the way I want it makes it kind of unusable to format whole documents.

    Jury's still out on if I'll keep "format when typing" enabled or not.

    #cpp #clang #ClangFormat

  50. Been checking out clang format a bit, trying to have it enabled for new code I write. I like it for the 98% of the stuff it gets right, but the 2% I can't configure the way I want it makes it kind of unusable to format whole documents.

    Jury's still out on if I'll keep "format when typing" enabled or not.

    #cpp #clang #ClangFormat