Giter VIP home page Giter VIP logo

coc-cmake's People

Contributors

dependabot[bot] avatar doronbehar avatar gh-atuzhikov avatar gopherj avatar midchildan avatar mirsella avatar voldikss avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

coc-cmake's Issues

error Your lockfile needs to be updated, but yarn was run with `--frozen-lockfile`.

on latest commit
running yarn install --frozen-lockfile :

[1/5] Validating package.json...
warning [email protected]: The engine "coc" appears to be invalid.
[2/5] Resolving packages...
warning [email protected]: TSLint has been deprecated in favor of ESLint. Please see https://github.com/palantir/tslint/issues/4534 for more information.
error Your lockfile needs to be updated, but yarn was run with `--frozen-lockfile`.

i tried with just yarn install but got a error when compiling webpack : https://pastebin.com/8uc5WXaP

thanks

[Suggestion] Would it be feasible to also add formatter args?

Not sure, but I think this could be very easily achieved with:

@@ -40,7 +40,7 @@ export default class CMakeFormattingEditProvider
 
 async function format(document: TextDocument, range?: Range): Promise<string> {
   const formatter = getConfig<string>('formatter')
-  const args = []
+  const args = getConfig<Array<string>>('formatter_args')
   if (!range) {
     args.push(Uri.parse(document.uri).fsPath)
   } else {

This however has not been implemented, I am sure there is a reason for that?..

Otherwise I could totally do a pr, please lmk;

Thanks!

Extension not working (0.0.2)

I just installed the extension (version: 0.0.2) using

:CocInstall coc-cmake

and put the configurations in the coc-settings.json. I have also checked whether the extension is activated.

Is there any step I'm missing / doing wrong?

support vimspector debug

Ref:

  1. vscode-cmake-tools debug
  2. coc-rust-analyzer vimspector support
  3. does clangd support codelens run? which gives instruction on some test items, I'm not sure at all
  4. example vimspector config based on CodeLLDB
    {
            "c/c++ - launch": {
            "adapter": "CodeLLDB",
            "configuration": {
                "request": "launch",
                "program": "${workspaceRoot}/${fileBasenameNoExtension}",
                "stopAtEntry": false
            },
            "breakpoints": {
                "exception": {
                    "cpp_throw": "Y",
                    "cpp_catch": "N"
                }
            }
    }
  5. vscode-cpptools-integration

Semantic highlight of CMake code

It would be pretty amazing if something could parse CMake syntax and communicate highlight regions for the plugin. Right now highlighting is done based on syntax file, which is 1) often out-of-date, 2) good enough for standard CMake code, but only introduces confusion when used in custom CMake code, e.g.:
2020-10-18-103426_477x388_scrot

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.