简体   繁体   中英

IntelliJ IDEA remote development code "cannot find declaration to go to"

In remote machine, after build a JAVA project in IDEA, IDEA can find all code declaration and use ctrl+click to jump.

Sample in remote machine with IDEA (use impication to show idea can find relation with this code)

However, in local machine, use remote development, open same project(been built in remote IDEA), local Idea can only jump simple code, can not find all code declaration

Sample in local IDEA with remote development

Is there any way to find all code declatation in local machine? or use build result in remote IDEA.

remote environment: ubuntu local environment: windows 10

Please make sure you are using local JDK while in a local project. Based on the image, it seems like IntelliJ IDEA didn't recognise Java files.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM