We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f984383 commit ad9671dCopy full SHA for ad9671d
src/main/java/com/sjhy/plugin/ui/SelectSavePath.java
@@ -287,9 +287,11 @@ private void refreshPath() {
287
String packageName = packageField.getText();
288
// 获取基本路径
289
String path = getBasePath();
290
+ // 兼容Linux路径
291
+ path = path.replaceAll("\\\\", "/");
292
// 如果存在包路径,添加包路径
293
if (!StringUtils.isEmpty(packageName)) {
- path += "\\" + packageName.replaceAll("\\.", "\\\\");
294
+ path += "/" + packageName.replaceAll("\\.", "/");
295
}
296
pathField.setText(path);
297
0 commit comments