Code Monkey home page Code Monkey logo

Comments (2)

atilaneves avatar atilaneves commented on June 13, 2024

I guess it has something to do with where you put your .dir-locals.el. I just set the variable manually and it worked, so AFAICT it's not anything to do with cmake-ide.

from cmake-ide.

benbovy avatar benbovy commented on June 13, 2024

It worked too when I set the variable manually, but still not when I set it in .dir-locals.el.

I've setup a minimal repository here: https://github.com/benbovy/check-cmake-ide-rdm-path. Maybe this can help.

I opened the cpp file, and the rdm server started ignoring the path to .rdmrc, despite this output of describe-variable:

cmake-ide-rdm-rc-path is a variable defined in `cmake-ide.el'.
Its value is
"/Users/bbovy/Git/github/benbovy/check-cmake-ide-rdm-path/.rdmrc"
Original value was ""
Local in buffer helloworld.cpp; global value is ""

  This variable's value is directory-local, set by the file
  `/Users/bbovy/Git/github/benbovy/check-cmake-ide-rdm-path/.dir-locals.el'.
  This variable is safe as a file local variable if its value
  satisfies the predicate `stringp'.

So it looks like the value is set properly (note: it doesn't work either with a relative path to .rdmrc). Is there anything wrong with this setup? For other cmake-ide related variable that I put in .dir-locals.el I usually don't have any problem.

from cmake-ide.

Related Issues (20)

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.