# \#c-cpp

**URL:** https://forum.cursor.com/tag/c-cpp/333.md

[Latest](https://forum.cursor.com/latest.md) · [Categories](https://forum.cursor.com/categories.md) · [Tags](https://forum.cursor.com/tags.md)

---

## [Cursor AI edits corrupt Windows-1252 encoding in C++ projects (even when editor shows 1252)](https://forum.cursor.com/t/cursor-ai-edits-corrupt-windows-1252-encoding-in-c-projects-even-when-editor-shows-1252/150701)

<div class="topic-metadata">

**Author:** [@Alef\_Vieira](https://forum.cursor.com/u/Alef_Vieira)\
**Replies:** 74\
**Last updated:** [October 7, 2026, 10:58am UTC](https://forum.cursor.com/t/cursor-ai-edits-corrupt-windows-1252-encoding-in-c-projects-even-when-editor-shows-1252/150701 "2026-10-07T10:58:06Z")

</div>

Where does the bug appear (feature/product)? Cursor IDE Describe the Bug Hello Cursor team, I’m reporting a reproducible encoding corruption issue affecting C++ projects that use Windows-1252 (ANSI). Environment Curs…

---

## [Cursor keeps corrupting my C++ file encodings](https://forum.cursor.com/t/cursor-keeps-corrupting-my-c-file-encodings/173279)

<div class="topic-metadata">

**Author:** [@Cpp3DEngine](https://forum.cursor.com/u/Cpp3DEngine)\
**Replies:** 3\
**Last updated:** [September 29, 2026, 1:17pm UTC](https://forum.cursor.com/t/cursor-keeps-corrupting-my-c-file-encodings/173279 "2026-09-29T13:17:30Z")

</div>

There is an even more serious issue: Cursor frequently corrupts the encoding of my C++ files, severely disrupting my workflow. Sometimes, the encoding gets corrupted even in files I haven’t actually modified or edited. I…

---

## [Solo dev, non-CS background, building an AI from scratch](https://forum.cursor.com/t/solo-dev-non-cs-background-building-an-ai-from-scratch/169129)

<div class="topic-metadata">

**Author:** [@prio\_leksono](https://forum.cursor.com/u/prio_leksono)\
**Replies:** 0\
**Last updated:** [August 22, 2026, 3:21am UTC](https://forum.cursor.com/t/solo-dev-non-cs-background-building-an-ai-from-scratch/169129 "2026-08-22T03:21:44Z")

</div>

Hi all, I want to share something I’ve been building solo for a while. I’m not a CS grad — my background is Business management — so I don’t have fancy jargon, just a lot of stubbornness and curiosity. Limitation is yo…

---

## [F12 can't go to definition](https://forum.cursor.com/t/f12-cant-go-to-definition/163103)

<div class="topic-metadata">

**Author:** [@Laylawang95](https://forum.cursor.com/u/Laylawang95)\
**Replies:** 3\
**Last updated:** [June 15, 2026, 10:08am UTC](https://forum.cursor.com/t/f12-cant-go-to-definition/163103 "2026-06-15T10:08:05Z")

</div>

Where does the bug appear (feature/product)? Cursor IDE Describe the Bug When I use cursor for my C++ project, I just can’t use the F12 ,it won’t work. By the way ,I use ctrl + shfit + i to format my code, but in cursor…

---

## [LSP for Swift + Objective C codebase](https://forum.cursor.com/t/lsp-for-swift-objective-c-codebase/159862)

<div class="topic-metadata">

**Author:** [@ngquyduc](https://forum.cursor.com/u/ngquyduc)\
**Replies:** 2\
**Last updated:** [May 11, 2026, 6:29am UTC](https://forum.cursor.com/t/lsp-for-swift-objective-c-codebase/159862 "2026-05-11T06:29:56Z")

</div>

I’m working in a codebase with a mixture of Objective C, Objective C++, and Swift and I have installed some extensions like Swift and Clangd. However, basic LSP functions like go-to-definition, find-references, completi…

---

## [C++ quality gate for Cursor: 3 automated checks before every commit (sanitizers + cppcheck + target build)](https://forum.cursor.com/t/c-quality-gate-for-cursor-3-automated-checks-before-every-commit-sanitizers-cppcheck-target-build/156441)

<div class="topic-metadata">

**Author:** [@villepispa](https://forum.cursor.com/u/villepispa)\
**Replies:** 1\
**Last updated:** [April 19, 2026, 6:19am UTC](https://forum.cursor.com/t/c-quality-gate-for-cursor-3-automated-checks-before-every-commit-sanitizers-cppcheck-target-build/156441 "2026-04-19T06:19:57Z")

</div>

The problem You write C++ in Cursor, it compiles fine locally, you commit and push — then: The CI server (or grader) uses an older compiler and rejects something you used freely. A subtle heap-use-after-free slips thr…

---

## [\[Glass Alpha\] C/C++ extension go-to-definition not working — expected behavior or WIP?](https://forum.cursor.com/t/glass-alpha-c-c-extension-go-to-definition-not-working-expected-behavior-or-wip/155339)

<div class="topic-metadata">

**Author:** [@GeniusAlbert](https://forum.cursor.com/u/GeniusAlbert)\
**Replies:** 2\
**Last updated:** [April 4, 2026, 11:11am UTC](https://forum.cursor.com/t/glass-alpha-c-c-extension-go-to-definition-not-working-expected-behavior-or-wip/155339 "2026-04-04T11:11:29Z")

</div>

Hey team, loving the Glass alpha so far — the UI feels really clean. Quick question: after switching to Glass, I noticed my C/C++ extension’s go-to-definition / jump-to-symbol stopped working. I found the LSP toggle in…

---

## [Make Doxygen autodocumentation work properly in Cursor](https://forum.cursor.com/t/make-doxygen-autodocumentation-work-properly-in-cursor/154941)

<div class="topic-metadata">

**Author:** [@Andrew\_Medlin](https://forum.cursor.com/u/Andrew_Medlin)\
**Replies:** 1\
**Last updated:** [March 18, 2026, 9:40am UTC](https://forum.cursor.com/t/make-doxygen-autodocumentation-work-properly-in-cursor/154941 "2026-03-18T09:40:05Z")

</div>

When using clangd for C++ (IntelliSense disabled), C\_Cpp.GenerateDoxygenComment fails with “IntelliSense is disabled…” Doxdocgen’s completion-based flow is broken by Cursor’s inline suggestions. Please either make the Do…

---

## [Set up C/C++ with MSYS2 in Cursor](https://forum.cursor.com/t/set-up-c-c-with-msys2-in-cursor/153247)

<div class="topic-metadata">

**Author:** [@PurSuer](https://forum.cursor.com/u/PurSuer)\
**Replies:** 0\
**Last updated:** [February 28, 2026, 3:22pm UTC](https://forum.cursor.com/t/set-up-c-c-with-msys2-in-cursor/153247 "2026-02-28T15:22:30Z")

</div>

Hello There! :slight\_smile: First, search and install C/C++ extension from Anysphere (cursor.com) in the Cursor marketplace. Search for and install the clangd extension from llvm-vs-code-extensions (llvm.org). …

---

## [Please help, gcc not working](https://forum.cursor.com/t/please-help-gcc-not-working/150355)

<div class="topic-metadata">

**Author:** [@vimal\_jain](https://forum.cursor.com/u/vimal_jain)\
**Replies:** 1\
**Last updated:** [February 1, 2026, 10:39am UTC](https://forum.cursor.com/t/please-help-gcc-not-working/150355 "2026-02-01T10:39:50Z")

</div>

Hi, I am trying to move to Cursor IDE from VSCode. I am on a mac, so the default c++ is clang, but I have installed gcc/g+±14. This works fine in VSCode: it both compiles and the intellisense is g++. In Cursor, while usi…

---

## [Seeking Expert: Windows + CMake + C++ Workflow Optimization (Boost/Networking)](https://forum.cursor.com/t/seeking-expert-windows-cmake-c-workflow-optimization-boost-networking/149367)

<div class="topic-metadata">

**Author:** [@sabriguenes](https://forum.cursor.com/u/sabriguenes)\
**Replies:** 2\
**Last updated:** [January 21, 2026, 3:35pm UTC](https://forum.cursor.com/t/seeking-expert-windows-cmake-c-workflow-optimization-boost-networking/149367 "2026-01-21T15:35:24Z")

</div>

I am looking for someone with a bulletproof Cursor setup on Windows to help optimize a complex C++ development workflow. I am building a high-performance networking library (Boost/Capy dependencies) and am hitting signif…
