mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
ElectronDebugTest — passed. Support debug pure js file in the ASAR — we resolve real file in the project using source content
This commit is contained in:
@@ -2,6 +2,9 @@
|
||||
<item name='java.nio.file.FileSystem java.nio.file.Path getPath(java.lang.String, java.lang.String...)'>
|
||||
<annotation name='org.jetbrains.annotations.NotNull'/>
|
||||
</item>
|
||||
<item name='java.nio.file.Files java.nio.channels.SeekableByteChannel newByteChannel(java.nio.file.Path, java.nio.file.OpenOption...)'>
|
||||
<annotation name='org.jetbrains.annotations.NotNull'/>
|
||||
</item>
|
||||
<item name='java.nio.file.Path java.nio.file.Path getParent()'>
|
||||
<annotation name='org.jetbrains.annotations.Nullable'/>
|
||||
</item>
|
||||
|
||||
@@ -13,7 +13,6 @@
|
||||
"url": "https://github.com/JetBrains/intellij-community.git"
|
||||
},
|
||||
"devDependencies": {
|
||||
"dts-generator": "^1.6.3",
|
||||
"mocha": "^2.3.4",
|
||||
"rimraf": "^2.5.0",
|
||||
"should": "^8.0.2",
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
/*
|
||||
* Copyright 2000-2015 JetBrains s.r.o.
|
||||
* Copyright 2000-2016 JetBrains s.r.o.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
@@ -23,7 +23,7 @@ val File.systemIndependentPath: String
|
||||
get() = path.replace(File.separatorChar, '/')
|
||||
|
||||
val File.parentSystemIndependentPath: String
|
||||
get() = getParent().replace(File.separatorChar, '/')
|
||||
get() = parent.replace(File.separatorChar, '/')
|
||||
|
||||
// PathUtilRt.getParentPath returns empty string if no parent path, but in Kotlin "null" is better because elvis operator could be used
|
||||
fun getParentPath(path: String) = StringUtil.nullize(PathUtilRt.getParentPath(path))
|
||||
|
||||
+2
-2
@@ -1,5 +1,5 @@
|
||||
/*
|
||||
* Copyright 2000-2015 JetBrains s.r.o.
|
||||
* Copyright 2000-2016 JetBrains s.r.o.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
@@ -20,7 +20,7 @@ import com.intellij.ui.SimpleTextAttributes
|
||||
import com.intellij.util.ui.UIUtil
|
||||
import com.intellij.xdebugger.frame.XStackFrame
|
||||
|
||||
class AsyncFramesHeader(val asyncFunctionName: String) : XStackFrame() {
|
||||
internal class AsyncFramesHeader(val asyncFunctionName: String) : XStackFrame() {
|
||||
override fun customizePresentation(component: ColoredTextContainer) {
|
||||
component.append("Async call from ", PREFIX_ATTRIBUTES)
|
||||
component.append(asyncFunctionName, NAME_ATTRIBUTES)
|
||||
|
||||
Reference in New Issue
Block a user