aisong

Results 10 comments of aisong

> I want the function just like this(for example,in nodejs): > Math.random() 0.9701618132579795 @saig0 Thank you for your reply!

@saig0 I'm sorry for not seeing your reply for so long. Your suggestion is very cool 👍 , it's what I want! My current user case is that I need...

> ``` > ``` >   > > > > ``` > > > 重新试一下 > ``` 你好,用你这个svg测试能生成正常的字体,请问是怎么由我之前原始的svg转换到你这个svg的呢? 谢谢🙏

> 在这个 PR 中会解决:#37 谢谢!什么时候可以发布修复后的新版本呢?看这个PR已经好几个月了,但是没有进一步动作。

@jdneo 我遇到了同样的问题。 执行mvn test-compile -f 可以编译成功。但是在vscode里面找不到测试类。 更加有问题的是,ide似乎不识别test下面的java类,语法错误不会提示。 source action: ![WX20240530-141142@2x](https://github.com/microsoft/vscode-java-test/assets/8147898/15de16d2-0049-4f4f-a49f-dab9fae5e6d1) testing: ![WX20240530-141226@2x](https://github.com/microsoft/vscode-java-test/assets/8147898/227f64bb-10a1-491d-adaa-7c280955fa61) 清除目录、clear workspace都重复了很多次,都不解决问题。 能麻烦看下可能是什么问题导致?

> @aisong Could you share a sample project for your issue? @jdneo 业务系统的代码,不好直接发这里呀。🥲

我觉得是test目录的识别有问题,没有被正确识别为java sources。 虽然classpath的配置是正确的: ![WX20240530-150118@2x](https://github.com/microsoft/vscode-java-test/assets/8147898/c4d15ae7-2f4f-4d26-8e70-d541d44df3a8) 但因为某种原因,ide没有把src/test/java识别为源文件。 查看执行文件,里面只有classes,没有包含test-classes: ![WX20240530-150636@2x](https://github.com/microsoft/vscode-java-test/assets/8147898/21acb077-7874-46e5-a9e1-2210322ac60d)

> @aisong Have you set `java.import.maven.disableTestClasspathFlag` not set. settings: { "java.configuration.maven.globalSettings": "/Users/ddxx/dev/maven/apache-maven-3.8.2/conf/settings.xml", "redhat.telemetry.enabled": false, "java.jdt.ls.vmargs": "-XX:+UseParallelGC -XX:GCTimeRatio=4 -XX:AdaptiveSizePolicyWeight=90 -Dsun.zip.disableMemoryMapping=true -Xmx1G -Xms100m -javaagent:\"/Users/ddxx/.vscode/extensions/vscjava.vscode-lombok-1.0.1/server/lombok.jar\"", "java.configuration.runtimes": [ { "name": "JavaSE-17", "path": "/Library/Java/JavaVirtualMachines/jdk-17.jdk/Contents/Home", //...

@jdneo 我终于找到我这里的问题出在哪里。但不知道为什么会这样。 在我的pom中引入了一个本地仓库的依赖,如果去掉它,ide会正常,如果引入它就会出现问题。 我打开了trace日志,截取了当在pom中引入这个依赖后出现的错误日志,请见附件。 [vscode-java.log](https://github.com/user-attachments/files/15507445/vscode-java.log) 能否从日志中判断出具体是什么问题?

> @aisong, thank you! Tracked at #1693. Will investigate. 好的。看起来是读取依赖的信息时有报错。是依赖包中的文件缺失了什么必要信息么。还没找到解决办法。