日本黄色一级经典视频|伊人久久精品视频|亚洲黄色色周成人视频九九九|av免费网址黄色小短片|黄色Av无码亚洲成年人|亚洲1区2区3区无码|真人黄片免费观看|无码一级小说欧美日免费三级|日韩中文字幕91在线看|精品久久久无码中文字幕边打电话

當(dāng)前位置:首頁 > > 充電吧
[導(dǎo)讀]Intelligent error highlighting(智能突出顯示錯誤)All common syntax errors, as well as all other errors that w

Intelligent error highlighting(智能突出顯示錯誤)

All common syntax errors, as well as all other errors that would be detected during compilation, are highlighted in the source code so you do not need to compile your code in order to find all your mistakes. Each error is highlighted in the editor and has the corresponding red link on the right gutter area for easy navigation to the erroneous places, which is especially useful when working with large files.

所有常見的語法錯誤以及其他一些可以被發(fā)現(xiàn)的編輯錯誤,都會在源代碼里被突出顯示。這意味著,你不用編譯程序就可以發(fā)現(xiàn)你所有的錯誤。錯誤突出會用紅色的波浪下劃線標(biāo)示,你可以輕易的找到它,這個功能在大的源文件編輯時尤為突出。



JavaDoc error highlighting(JavaDoc錯誤突出)

IDEA knows general javadoc rules, such as structure and syntax, and will detect any common inconsistencies found in your javadoc comments, e.g. wrong parameter references, return attributes in the field or void method comments, etc.
Having found an unknown javadoc tag, IDEA will suggests that you add this tag to the known tags list, so that you never get an error or warning indications about it.

IDEA曉得一般的JavaDoc一些關(guān)于結(jié)構(gòu)和語法的規(guī)則,而且會發(fā)現(xiàn)一些在你的JavaDoc中相矛盾的地方,比如,不一致的參數(shù)申明,返回局部變量或沒有返回值方法的注釋等等。當(dāng)發(fā)現(xiàn)一個未知的JavaDoc Tag 時,IDEA會提醒你將這個Tag加入到已知Tag列表中,這樣就再也看不到關(guān)于這個Tag的錯誤和警告提示了。


Detecting deprecated symbols(發(fā)現(xiàn)不合法的標(biāo)識符)

If any deprecated code is used in any class or interface, IDEA will recognize it and highlight the corresponding statements directly in the editor.

如果有任何不合法的代碼在你得class或interface里,IDEA會找出它,并在編輯器里直接標(biāo)記出它。


Highlighting unused imports, throws declarations and other unused symbols(突出顯示沒有被使用的import和 throw聲明以及其他沒有使用的標(biāo)識符)

IDEA will point out all redundant import statements, throws declarations and other unused symbols (like variables and methods), and will highlight them in the editor with the corresponding links on the right gutter area for easier navigation. More information on other code analysis features can be found here.

IDEA將會指出多余的import和throw聲明,以及其他的多余的方法和變量標(biāo)識符,并將在編輯器里突出顯示他們,并給出相應(yīng)的建議,你可以輕易找到它們。你也可以從提示意見里獲得更過的相關(guān)信息。


Import Assistant - helps to automatically insert import statements while typing code, and detects non-imported classes found in pasted blocks of code(Import助手——在編輯代碼時幫你自動插入import聲明,并自動找出你粘貼代碼時沒有導(dǎo)出的class)

When you use the name of a class from anywhere in a project library, but the class has not been imported into the current file, a hint with the suggestion to import the class pops up over the text. Pressing Alt + Enter inserts the import statement. Moreover, when you copy a block of text from one file and paste it into another, IDEA automatically detects all the classes that are used inside the copied block but have not been imported to the destination file. It then shows a list of all such classes and allows you to select classes you want to import into the new file.

當(dāng)你隨便使用一個package里的class時,而且這個class沒有在當(dāng)前文件中聲明時,就會有一個提示來建議你import一些有這個class聲明的package,你只需按下Alt + Enter就會import相應(yīng)package了。當(dāng)然,這個功能也會在你粘貼代碼時起作用,他會提示出所有需要import的package。IDEA還會給出一個列表讓你選擇呢?




Intention actions(意圖識別)

When you are typing your source code, know that IDEA is always one step ahead of you. For example, if you assign a value to a variable that represents an instance of one of its ancestors, IDEA will immediately interpret your intention as wanting either to cast the ancestor type to the variable type or to define the type of variable the same as the ancestor. A light bulb will appear suggesting that you perform one of these two operations. Also you can start using a method before it has been declared. When this occurs, IDEA’s light bulb popup will appear suggesting you create a new method from its usage. If you accept the suggestion, the new method will be created in the corresponding class. More features related to automatic code generation in IDEA are described here.

當(dāng)你在輸入源代碼時,IDEA會知道你下一步將會做什么。例如,當(dāng)你成聲明一個繼承于某個父類的變量時,IDEA會認(rèn)為是是不是需要繼承一些父類的聲明。有一個小燈泡出現(xiàn)會提示你完成這些操作。當(dāng)你寫一個方法時也是這樣。如果你接受了“小燈泡”的建議,你需一點,他就會自動幫你完成。(意譯,可能有出入,但易于理解)



Visual indication of overriding/overriden and implementing/implemented methods(醒目的指出override和implement的方法)

Special signs ( and ) on the left gutter area of the editor indicate that the current method overrides or implements the corresponding method of an ancestor class/interface. Moving the mouse to one of these symbols will bring up a tooltip with the base method details. If you click the symbol, the corresponding class/interface will be immediately opened in the editor, with the caret automatically positioned at the base method.

When icons or are shown, it means that the method is overriden or implemented in inheriting classes. Pressing the icon will open a lookup list with these classes, for selecting the desired one to open at the corresponding method.

?用符號(?和 ) 在代碼的左邊標(biāo)示出當(dāng)前方法是否是重載或?qū)崿F(xiàn)了父類或接口的相應(yīng)方法. 移動鼠標(biāo)到這些符號上,將會顯示出父類是顯得的詳細(xì)細(xì)節(jié)。如果你點擊鼠標(biāo), 相應(yīng)的父類實現(xiàn)就會出現(xiàn)在編輯器里,并自動定位到那個方法上。

當(dāng)符號??或 出現(xiàn)時,就意味著這個方法需要重載或?qū)崿F(xiàn)與父類的方法。?點擊鼠標(biāo)就會彈出相應(yīng)的列表讓你在其中選擇一個方法。



本站聲明: 本文章由作者或相關(guān)機構(gòu)授權(quán)發(fā)布,目的在于傳遞更多信息,并不代表本站贊同其觀點,本站亦不保證或承諾內(nèi)容真實性等。需要轉(zhuǎn)載請聯(lián)系該專欄作者,如若文章內(nèi)容侵犯您的權(quán)益,請及時聯(lián)系本站刪除。
換一批
延伸閱讀

LED驅(qū)動電源的輸入包括高壓工頻交流(即市電)、低壓直流、高壓直流、低壓高頻交流(如電子變壓器的輸出)等。

關(guān)鍵字: 驅(qū)動電源

在工業(yè)自動化蓬勃發(fā)展的當(dāng)下,工業(yè)電機作為核心動力設(shè)備,其驅(qū)動電源的性能直接關(guān)系到整個系統(tǒng)的穩(wěn)定性和可靠性。其中,反電動勢抑制與過流保護是驅(qū)動電源設(shè)計中至關(guān)重要的兩個環(huán)節(jié),集成化方案的設(shè)計成為提升電機驅(qū)動性能的關(guān)鍵。

關(guān)鍵字: 工業(yè)電機 驅(qū)動電源

LED 驅(qū)動電源作為 LED 照明系統(tǒng)的 “心臟”,其穩(wěn)定性直接決定了整個照明設(shè)備的使用壽命。然而,在實際應(yīng)用中,LED 驅(qū)動電源易損壞的問題卻十分常見,不僅增加了維護成本,還影響了用戶體驗。要解決這一問題,需從設(shè)計、生...

關(guān)鍵字: 驅(qū)動電源 照明系統(tǒng) 散熱

根據(jù)LED驅(qū)動電源的公式,電感內(nèi)電流波動大小和電感值成反比,輸出紋波和輸出電容值成反比。所以加大電感值和輸出電容值可以減小紋波。

關(guān)鍵字: LED 設(shè)計 驅(qū)動電源

電動汽車(EV)作為新能源汽車的重要代表,正逐漸成為全球汽車產(chǎn)業(yè)的重要發(fā)展方向。電動汽車的核心技術(shù)之一是電機驅(qū)動控制系統(tǒng),而絕緣柵雙極型晶體管(IGBT)作為電機驅(qū)動系統(tǒng)中的關(guān)鍵元件,其性能直接影響到電動汽車的動力性能和...

關(guān)鍵字: 電動汽車 新能源 驅(qū)動電源

在現(xiàn)代城市建設(shè)中,街道及停車場照明作為基礎(chǔ)設(shè)施的重要組成部分,其質(zhì)量和效率直接關(guān)系到城市的公共安全、居民生活質(zhì)量和能源利用效率。隨著科技的進步,高亮度白光發(fā)光二極管(LED)因其獨特的優(yōu)勢逐漸取代傳統(tǒng)光源,成為大功率區(qū)域...

關(guān)鍵字: 發(fā)光二極管 驅(qū)動電源 LED

LED通用照明設(shè)計工程師會遇到許多挑戰(zhàn),如功率密度、功率因數(shù)校正(PFC)、空間受限和可靠性等。

關(guān)鍵字: LED 驅(qū)動電源 功率因數(shù)校正

在LED照明技術(shù)日益普及的今天,LED驅(qū)動電源的電磁干擾(EMI)問題成為了一個不可忽視的挑戰(zhàn)。電磁干擾不僅會影響LED燈具的正常工作,還可能對周圍電子設(shè)備造成不利影響,甚至引發(fā)系統(tǒng)故障。因此,采取有效的硬件措施來解決L...

關(guān)鍵字: LED照明技術(shù) 電磁干擾 驅(qū)動電源

開關(guān)電源具有效率高的特性,而且開關(guān)電源的變壓器體積比串聯(lián)穩(wěn)壓型電源的要小得多,電源電路比較整潔,整機重量也有所下降,所以,現(xiàn)在的LED驅(qū)動電源

關(guān)鍵字: LED 驅(qū)動電源 開關(guān)電源

LED驅(qū)動電源是把電源供應(yīng)轉(zhuǎn)換為特定的電壓電流以驅(qū)動LED發(fā)光的電壓轉(zhuǎn)換器,通常情況下:LED驅(qū)動電源的輸入包括高壓工頻交流(即市電)、低壓直流、高壓直流、低壓高頻交流(如電子變壓器的輸出)等。

關(guān)鍵字: LED 隧道燈 驅(qū)動電源
關(guān)閉