code-server icon indicating copy to clipboard operation
code-server copied to clipboard

'Go to definition' is not working at C/C++

Open zed654 opened this issue 6 years ago • 7 comments

When I run the exe code(.code-server) as non-sudo, the option of 'Go to definition' not working. But, when I run it as sudo, 'Go to definition' is working well but cannot set the password by writting on the bashrc(export PASSWORD='aaa').

(OS - Ubuntu 18.04/16.04) could you help me?

zed654 avatar Feb 03 '20 02:02 zed654

Sounds like a bug to me. You should be allowed to use go to definition in usermode.

sr229 avatar Feb 03 '20 14:02 sr229

As far as I can tell, this is a permissions issue, not a bug with code-server.

nhooyr avatar Feb 03 '20 14:02 nhooyr

We need a better spot for questions.

nhooyr avatar Feb 03 '20 14:02 nhooyr

https://github.com/cdr/code-server/issues/1331

nhooyr avatar Feb 03 '20 14:02 nhooyr

Thanks you, I solved this problem. At the path of '~/.local/share/code-server', I granted permission by using 'sudo chmod 777 -R' (sudo chmod 777 -R ~/.local/share/code-server)

zed654 avatar Feb 03 '20 15:02 zed654

Gave all the permissions. Doesn't work. This is a code server issue.

Ambrodu avatar Nov 23 '22 10:11 Ambrodu

Hmm...I'm not sure what would be causing this. We'd have to dig in.

jsjoeio avatar Nov 30 '22 16:11 jsjoeio