Sam McCall
Sam McCall
InterpolatingCompilationDatabase will translate `clang --driver-mode=cl /std:c++latest foo.cpp` into `clang --driver-mode=cl foo.hpp`. This is because we expect the value after "/std:" to name a language version, but in MSVC-compat mode it's...
[Here is](https://github.com/sam-mccall/bugreports/blob/main/sway-im-popup/src/main.rs) the world's simplest `input-method-unstable-v2`: it shows and hides the input popup panel on alternating keystrokes. Sway duplicates the panel every time it is shown, rendering the same surface...
Per my reading of the anchors spec the below should pass validation, and [https://www.jsonschemavalidator.net/s/tOTgHWLN](other validators seem to agree). The intent is "the value of a property should be (something), or...
Have had requests from a few teams to have direct support for bazel projects. Rough sketch: - recognize potential workspace through existence of WORKSPACE file - inject a bazel aspect...
### Feature already in Vim? (No, this relates to the LSP client). ### Feature description TL;DR: as a language server maintainer, it would be useful if the language server stderr...
In `test.c` (no CDB): ``` #include siz^ ``` completing `size_t` will insert `#include `, which should be `#include ` (I assume, haven't checked the standard).
Windows and (most) Mac OS filesystems are case-insensitive but case-preserving. We use `std::string`/`StringRef` to represent paths for the most part, and do comparisons with `==` and standard string hashing. This...
Currently we just walk the bounds of AST nodes. When selection is inside macros, this may yield no interesting selections. e.g. gtest `TEST(F^oo, Bar) {}` Self-contained example: ``` #define DECLARE(X)...
coc.nvim is a really nice client and we'd like to be able to recommend it. We should polish the rough edges that don't work well with clangd: - [x] Code...
Types like `unique_ptr` have nontrivial destructors, but nevertheless can be supported by value in Rust. They can be moved around in memory with memcpy, and we need only destroy the...