Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Copy full package path of a Java class like Intellij #763

Closed
nickzhums opened this issue Oct 7, 2021 · 10 comments
Closed

Copy full package path of a Java class like Intellij #763

nickzhums opened this issue Oct 7, 2021 · 10 comments

Comments

@nickzhums
Copy link
Member

nickzhums commented Oct 7, 2021

Copied over from Blog comment: https://devblogs.microsoft.com/java-ch/wp-admin/edit-comments.php

就是可以拷贝java工程的文件或者目录的引用路径,就像idea上的一样,在我平时的编码中比较常用到的比如在配置springboot的自动配置文件入口的时候,需要配置一个配置类作为入口,这个时候需要的是类的全类名,按照现在在vscode中的做法,我必须去找到需要配置的类,然后先复制包名,然后再复制类名填写到配置文件,但是在idea中直接在配置类文件上右键,即可选择复制引用路径,然后直接粘贴到配置文件就可以了。

That is, you can copy the reference path of the file or directory of the java project, just like the idea, which is commonly used in my usual coding. For example, when configuring the automatic configuration file entry of springboot, you need to configure a configuration class as the entry. What is needed at this time is the full class name of the class. According to the current practice in vscode, I have to find the class that needs to be configured, and then copy the package name first, and then copy the class name and fill in the configuration file, but directly in the idea Right-click the configuration file, you can choose to copy the reference path, and then paste it directly into the configuration file.

@zhouxinghong
Copy link

Hello! Here is an especially related issue. There are too many bugs in the Red Hat Java engine and it is really frustrating to use. . . The Java formatting issues submitted in May have not been fixed, such as chain method calls. IDEA and Eclipse can maintain the same formatting code style. VsCode Java formatting is really disappointing. . . Many such problems have been mentioned elsewhere but have not been fixed. . . . Red Hat Java Engine should provide an internal test version like Typescript for users to use first, and if users find a problem and submit it, it can be corrected in time. Finally, there is no problem before the iterative version is released. . .

@nickzhums
Copy link
Member Author

Hi @zhouxinghong thanks for providing the info! Could you provide the links to the issues you mentioned above?

Also, just to provide some background info, in the future, we might provide a preview vs stable version soon :)

@zhouxinghong

This comment has been minimized.

@nickzhums
Copy link
Member Author

nickzhums commented Oct 14, 2021

thanks @zhouxinghong
cc @testforstephen @Eskibear @jdneo @CsCherrYY to take a look

@Eskibear Eskibear added this to the backlog milestone Oct 14, 2021
@zhouxinghong
Copy link

zhouxinghong commented Oct 17, 2021

thanks @zhouxinghong cc @testforstephen @Eskibear @jdneo @CsCherrYY to take a look

You are welcome! Hurry up to fix the bugs and release a new version!
Now Interllij IDEA has released 2021.2.3 and has gone ahead. . .
With 2021.3 released next month, all the advantages of VSCode have been caught up. . .

@Eskibear
Copy link
Member

"Copy full qualified name" can be a valid feature request, and context menu in Java Projects view would be a proper place if we want to implement it.
image

@zhouxinghong

This comment has been minimized.

@nickzhums
Copy link
Member Author

Hello @zhouxinghong Those issues are on our radar - There are asks from other users and we are trying our best to prioritize. Feel free to let us know which issues have biggest impact on you, and please be patient with us - thanks!

@zhouxinghong

This comment has been minimized.

@jdneo
Copy link
Member

jdneo commented Apr 10, 2023

It's tracked by microsoft/vscode-java-dependency#630

@jdneo jdneo closed this as completed Apr 10, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

5 participants