之前有蠻多同學問到,當在 mac 上使用 JetBrains IDE 做 extract field 的時候,無法直接用 Opt + i 去選擇 initialize 的位置,這問題該怎麼處理。
基本上這問題是有被開 issue 而且官方沒有提供解決方式的。
能做的 workaround, 一般是把 refactoring 的視窗,從 in-place mode 改成 dialog,這樣至少有 Opt/Alt 的 shortcut 去按選項,或是能用 tab 做選擇。
例如:https://www.jetbrains.com/help/phpstorm/extract-field.html
但 PyCharm 的設定名稱跟位置不太一樣,是放在 File | Settings | Editor | Code Editing 裡面,如兩張圖所示。
#PyCharm
#JetBrains
#ExtractField
--
忘了提,還有個同學有暗黑兵法,聽說在中文輸入法底下,用 Opt + i 是可以的唷...XD
jetbrains中文 在 Introducing Facebook Platform SDK V12.0 & Related Updates 的美食出口停車場
... that support will be completely removed by JetBrains. Java 8 bytecode will also allow the final apps to have smaller size and better performance. ... <看更多>
jetbrains中文 在 看到我老师的频道 - YouTube 的美食出口停車場
Kotlin by JetBrains ... 中國速遞新規不寄無中文標識進口商品;河北村民投訴鎮政府非法強拆養殖場 ... ... <看更多>