Developer forums (C::B DEVELOPMENT STRICTLY!) > Plugins development

Code completion using LSP and clangd

<< < (54/85) > >>

Pecan:

--- Quote from: Miguel Gimenez on November 16, 2022, 11:45:10 am ---The .depend is still "active", after compiling the plugin:

--- Code: ---c:\Codeblocks>svn status
X       src\plugins\contrib\FortranProject
X       src\plugins\contrib\PythonPlugins
?       src\plugins\contrib\clangd_client\clangd_client_wx32.depend

c:\Codeblocks\src\plugins\contrib\clangd_client>svn proplist -v
Properties on '.':
  svn:ignore
    *.layout
    clangd_client.zip

--- End code ---
so *.depends is missing. Other folders (p.e. src/src) add also *_build_log.html, because saving build log to HTML leaves this files around.

IMHO the ignore list should be:

--- Code: ---Properties on '.':
  svn:ignore
    *.depend
    *.layout
    *_build_log.html
    clangd_client.zip

--- End code ---

--- End quote ---

Please go ahead and change them as you see fit.
I've read "svn propset -h" three times now, and I still can't figure out how to set ignores.

Miguel Gimenez:

--- Quote ---Please go ahead and change them as you see fit.
--- End quote ---
Done. Just go to the plugin directory and write:

--- Code: ---svn propedit svn:ignore .
--- End code ---

Pecan:

--- Quote from: Miguel Gimenez on November 17, 2022, 07:46:57 am ---
--- Quote ---Please go ahead and change them as you see fit.
--- End quote ---
Done. Just go to the plugin directory and write:

--- Code: ---svn propedit svn:ignore .
--- End code ---

--- End quote ---

The result of this is:

--- Code: ---F:\usr\Proj\cbHead\trunk\src\plugins>svn propedit svn:ignore .
svn: E205007: None of the environment variables SVN_EDITOR, VISUAL or EDITOR are set, and no 'editor-cmd' run-time configuration option was found

--- End code ---
It wants me to set some editor like:

--- Code: ---set SVN_EDITOR=notepad.exe
--- End code ---

Then, running the svn command brings up notepad with the svn:ignore file settings.

I suppose I'm suppose to save it. But who knows....

[rant]Some day I hope to trash svn. It trades intuitiveness for utter confusion plus hours and hours to try and understand it.
[/rant]

ollydbg:

--- Quote from: Pecan on November 09, 2022, 06:36:27 pm ---....

The code is trying to parse out the ancestor of a class to add to the symbols tree. Clangd has no protocol msg to achieve that, so I was trying to use the old CodeCompletion code to parse it from the source line.

Do you have any steps you can give me to re-create the situation.

Thanks

--- End quote ---


--- Code: ---/// comment

class A
{
    int m_X;
    int m_Y;
};

--- End code ---

To reproduce this issue, you can

first put the caret after the line "/// comment", and just continuously hit the Enter key several times.

sodev:
@Pecan

You are using Windows, you simply don't use cli tools on Windows :P. Install https://tortoisesvn.net/ for your SVN needs.

Navigation

[0] Message Index

[#] Next page

[*] Previous page

Go to full version