Skip to content

Commit eb6db5e

Browse files
committed
Enhanced compatibility with the CCLS language server // Resolve #5186
1 parent fc858c0 commit eb6db5e

File tree

4 files changed

+4
-3
lines changed

4 files changed

+4
-3
lines changed

HISTORY.rst

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,7 @@ test-driven methodologies, and modern toolchains for unrivaled success.
2424

2525
* Added support for Python 3.14
2626
* Upgraded the `Doctest <https://docs.platformio.org/en/latest/advanced/unit-testing/frameworks/doctest.html>`__ testing framework to version 2.4.12, the `GoogleTest <https://docs.platformio.org/en/latest/advanced/unit-testing/frameworks/doctest.html>`__ to version 1.17.0, and the `Unity <https://docs.platformio.org/en/latest/advanced/unit-testing/frameworks/unity.html>`__ to version 2.6.1, incorporating the latest features and improvements for enhanced testing capabilities
27+
* Enhanced compatibility with the CCLS language server, improving integration with editors like `Emacs <https://docs.platformio.org/en/latest/integration/ide/emacs.html>`__, `Sublime Text <https://docs.platformio.org/en/latest/integration/ide/sublimetext.html>`__, and `Vim <https://docs.platformio.org/en/latest/integration/ide/vim.html>`__ (`issue #5186 <https://github.com/platformio/platformio-core/issues/5186>`_)
2728
* Improved error messages for package installation to make it easier to understand when a package is missing or incompatible (`pull #5336 <https://github.com/platformio/platformio-core/pull/5336>`_).
2829
* Fixed a regression issue where custom build flags were not properly reflected in the `compile_commands.json <https://docs.platformio.org/en/latest/integration/compile_commands.html>`__ file, ensuring accurate compilation database generation
2930
* Fixed an issue where fully-qualified serial port URLs (e.g., ``rfc2217://host:port``) were incorrectly treated as wildcard patterns (`issue #5225 <https://github.com/platformio/platformio-core/issues/5225>`_)

platformio/project/integration/tpls/emacs/.ccls.tpl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
% from platformio.compat import shlex_join
22
%
3-
clang
3+
{{ cc_path }}
44

55
{{"%c"}} {{ shlex_join(cc_flags) }}
66
{{"%cpp"}} {{ shlex_join(cxx_flags) }}

platformio/project/integration/tpls/sublimetext/.ccls.tpl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
% from platformio.compat import shlex_join
22
%
3-
clang
3+
{{ cc_path }}
44

55
{{"%c"}} {{ shlex_join(cc_flags) }}
66
{{"%cpp"}} {{ shlex_join(cxx_flags) }}

platformio/project/integration/tpls/vim/.ccls.tpl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
% from platformio.compat import shlex_join
22
%
3-
clang
3+
{{ cc_path }}
44

55
{{"%c"}} {{ shlex_join(cc_flags) }}
66
{{"%cpp"}} {{ shlex_join(cxx_flags) }}

0 commit comments

Comments
 (0)