code analysis very slow when edit code. Can you add a remote server for analyzing?

已回答

 

 

1

Hello!

If you want code analysis to take place on the remote server, please take a look at this remote approach: https://www.jetbrains.com/help/clion/remote-development-a.html

0

 

Thanks for answer

JetBrains Gateway for clion has lots fo bugs

like:

1. header files can't jump to the corresponding implementation

2. navigate not working

 

3. shift + shift  indexing  

A lot of .gitignore filtered files appear. Maybe my server git version is too low

4. plugin not working   like Protocol Buffers

 

0
  1. Probably it's https://youtrack.jetbrains.com/issue/CWM-5862. Feel free to comment or upvote the issue in order to get updates. See https://intellij-support.jetbrains.com/hc/en-us/articles/207241135-How-to-follow-YouTrack-issues-and-receive-notifications if you are not familiar with YouTrack.
  2. It's https://youtrack.jetbrains.com/issue/CWM-6548 which is already fixed in 2022.2.1.
  3. Could you please provide more details and some screenshots?
  4. What exactly doesn't work? Is the plugin installed? If yes, please specify where it's installed - on the local machine or on the remote machine.
0

now version 

 

1.  header files can't jump to the corresponding implementation.    problem not solved

2.  navigate not working. problem not solved. It's very  inconvenient to look at the code 

when I go to definition of 

mutable_current_season

navigate not avalible, I can go back to caller function 

3. shift + shift  indexing  A lot of .gitignore filtered files appear. my server git version git version 2.17.6, problem not solved

act_1.pb.h in .gitingore list

 

4. plugin not working   like Protocol Buffers. Problem solved, plugin works ok

0

>header files can't jump to the corresponding implementation

What action do you use?

>navigate not working. problem not solved

As I wrote, the issue is fixed in 2022.2.1, and you use 2022.2. You need to update both local CLion (or Gateway) and the remote CLion instance.

>shift + shift  indexing  A lot of .gitignore filtered files appear

I still don't get the problem. Do you mean that files which are listed in .gitignore appear in the search results?

0

> As I wrote, the issue is fixed in 2022.2.1, and you use 2022.2.

sorry, I forgot to upgrade remote CLion instance

> I still don't get the problem. Do you mean that files which are listed in .gitignore appear in the search results?

yes.  but I found It's the same in clion, may be it's ok

Sometimes it takes several seconds to return query results, which is a bit slow. and also blocks my typing. This also happens when I edit the source code

Sometimes act_450.cpp:1211  This way does not jump to the correct line number

>What action do you use?

go to -> definition.   after upgrade it seems ok

> navigate not working. problem not solved

may be solved part of it.

symbols defined in another file.  it's ok.

symbols define in current file. Can't go back to where you started jumping.  I found that it seems that the cursor is jumping back, but the content of the file is not repositioned

 

In short, the code prompts are sometimes absent, and typing is also stuck. The only advantage is that the analysis is slightly faster than the local one, because my remote server has 16 cores, and the experience is not as good as clion. Always like this, I can't do anything

loading for 10 minutes, cannot click or edit anything

0

New problem, there is a problem with the expansion of macro definitions. 

obviously not empty

 

 

0

I tried 12240 MB xmx, After using it for a while, there are no prompts and jumps.  like getting stuck on an operation

0

>New problem, there is a problem with the expansion of macro definitions. 

Is it possible that the condition inside the if operator is false (and therefore the statement is in fact empty)?

0

请先登录再写评论。