![](/img/trans.png)
[英]Intellij restore deleted file (new file not in version control yet)
我在 InteliJ 中刪除了一個文件並想恢復它。 我嘗試了什么: Edit -> Undo在這里無濟於事,因為在我錯誤地刪除了錯誤的文件后我不得不執行很多操作 File -> LocalHistory不顯示我的更改 ...
[英]Intellij restore deleted file (new file not in version control yet)
我在 InteliJ 中刪除了一個文件並想恢復它。 我嘗試了什么: Edit -> Undo在這里無濟於事,因為在我錯誤地刪除了錯誤的文件后我不得不執行很多操作 File -> LocalHistory不顯示我的更改 ...
[英]Debugging an Erlang code with Makefile in IntelliJ
設置:OTP 26。帶有插件 Erlang 0.11.1162 和 Makefile 223.8214.6 的 IntelliJ 2022.3.1 預覽中的代碼:測試套件 ct.netconfc_SUITE。 我們可以使用命令make common_test_test ARGS="-suite ct ...
[英]Compilation Error with Maven on Intellij: Module not found: processed.jcommander
我正在使用 selenium 和 javaFX 開發一些小程序。當我分別在 selenium 項目和 JavaFX 項目上嘗試我的代碼時,一切都很順利。 當我將代碼放在一起並將所有依賴項導入到 maven 並嘗試運行時,它一直顯示此錯誤: 我不知道那些模塊是什么,它們不是依賴項,也沒有在代碼中使用 ...
[英]Importing a specific folder from a GIT Erlang repository in IntelliJ
我能夠在 IntelliJ 中導入完整的項目https://github.com/erlang/otp.git 。 但是,我對特定模塊common_test 感興趣。 我檢查了 File->New->ProjectFromVersionControl,但沒有找到任何克隆特定文件夾的選項 ...
[英]Generating a String which matches given regex using random-Method of GENEREX
我正在嘗試使用 GENEREX 的隨機方法生成一個匹配給定正則表達式的字符串。 Target :如 random Method -> random(min, max) 中所定義,字符串應該具有給定的最小字符數和最大字符數之間。 問題:output 匹配定義的正則表達式,但它只包含一個字符。 ...
[英]org.gradle.api.tasks.TaskExecutionException: Execution failed for task ':app:compileTestGroovy'
當我嘗試運行我的單元測試時,我得到: 檢查我的IntelliJ項目: 也許我需要更新我的gradle版本,如果必須完成此更改(從6.8更改為7.0 ),我不安全,如圖所示。 但是,當我嘗試刷新gradle時出現此錯誤:始終顯示此行: evaluationDependsOn(':app') 我怎 ...
[英]IntelliJ Erlang "Unresolved macros"
設置: 問題:當我將鼠標懸停在某些宏上時,我收到消息“Unresolved macros '?debugMsg'”、“Unresolved macros '?assertEqual'”等。因此,我無法執行代碼演練。 請幫我解決這個問題。 初始調試:我看到相應的 hrl 文件如下所列。 但是,當我將 ...
[英]IntelliJ Erlang "Cannot find declaration to go to"
設置: 當我將鼠標懸停在某些變量上時,我收到消息“無法找到對 go 的聲明”。 結果,我無法進行代碼演練。 請幫我解決這個問題。 ...
[英]Problem with code browsing Erlang code in IntelliJ
我已經在 Windows 10 中的 IntelliJ 中安裝了 Erlang 插件,如 Jetbrain 網站上所述。 我正在尋找典型的代碼瀏覽功能,例如查找調用層次結構、查找引用和生成調用流程圖。 我看到許多這些功能在 IntelliJ 中不起作用,如下所列。 可能是什么原因? 在 Intell ...
[英]Setup intellij on spring boot
當我嘗試在我的 m1 Macbook Pro 上啟動 spring 引導項目時,會拋出以下錯誤。 我該如何解決這個問題,這是什么原因? 錯誤: ...
[英]One feature1 file unable to run another feature2 file if have json called in feature2 in karate
Feature1 路徑: main/feature1 Feature2 路徑: main/auth/feature2 JSON 文件路徑: main/auth/data.json Feature2代碼:特征:測試背景:* url baseURL * def users = read('use ...
[英]intellij is there a way to run multiple Junit tests at once right after a maven project is built?
例如,我有一個 class 的 Junit 測試,其中包括 100 個測試。 有沒有辦法在我構建項目后立即自動運行所有這些測試? 是否有任何我需要打開和關閉的設置或我需要添加到我的測試 class 中的任何注釋來觸發它? 我當前的設置如下:它不會在構建時自動運行測試 ...
[英]How to locate Intellji IDEA "Generate Test" related code?
右鍵單擊打開的Java文件,我們可以得到Generate item: 然后點擊Test和go on,我們就可以生成目標單元測試了: 我想基於上層內置“測試生成器”功能開發一個新的 Intellji IDEA 插件,我想檢查相關的 IDEA 源代碼,我只是猜測可能在 com.jetbrains. ...
[英]Intellij: Warning: 'List<String>' may not contain objects of type 'List<String>' (Suspicious collections method calls)
下面是 intellij 拋出Suspicious collections method calls警告的代碼片段,但我不明白為什么。 我唯一能想到的是,也許 intellij 認為其中一個列表可能是 null,但這也會引發同樣的錯誤。 這是一個 Intellij 錯誤,還是真的有一些我沒有想到的 ...
[英]Validate method parameter name between interface declaration and implementation
問題: 這會正確返回字符串“ab”。 但是如果你改變接口並交換參數 那么該方法仍然返回“ab”而不是預期的“ba”。 這種期望基於參數名稱“first”和“second”。 問題:如何驗證接口中的參數名稱是否與實現中的名稱匹配? 最好在構建時出現構建錯誤。 ...
[英]Create a Jar Library and import it in another gradle project using intelliJ
我使用以下步驟創建了 gradle 項目的 jar 庫(即沒有主類)文件 -> 項目結構 -> 工件 -> + -> jar -> 從具有依賴項的模塊 -> 所有模塊 -> 提取到目標 jar - > 好的 -> 構建 -> 構建工件。 ...
[英]IntelliJ http client save JSON value as variable not working for variable names with - character
我的 GET 請求: 回復正文: 來自響應處理程序的錯誤: 如果我嘗試提取文檔的價值,它可以正常工作,但不適用於“id-claim”。 我嘗試將它包含在單引號/雙引號中,並將其保存到 env 變量並將 env 變量作為 {{id-claim}} 傳遞,但它們都不起作用。 ...
[英]No dropdown option of IntelliJ in IDE version of Remote Development using SSH in JetBrains Gateway
我正在嘗試使用JetBrains Gateway連接到遠程服務器,以便可以使用IntelliJ IDE進行代碼更改。 IntelliJ 和 JetBrains Gateway 都新安裝在我的設備上,安裝后我也重新啟動了我的 PC。 我輸入了主機名、密碼,它說我是"Successfully Conn ...
[英]takeScreenshot method from AShot library not working to capture screen shot for specific element
AutoTestWebDriver 驅動程序=新 AutoTestWebDriver(); 整頁作品的屏幕截圖。 這是我的代碼: org.openqa.selenium.WebDriverException:未知錯誤:$ 未定義 可能是什么問題? ...
[英]Creating a scala project on intellij
試圖在 intelli 上創建一個基於 scala 的項目,我看到的所有教程都要求我單擊新項目並選擇左側的 scala 和右側的 sbt。 我在左側看不到 scala 選項。 我已經安裝了 scala 插件。 還重新啟動了intellij幾次。 ...