之前遇到都只能重灌

這次剛好找到解答!!!
記錄一下

平常用Eclipse時,若在鍵入的Class後面按「.」,就會跳出該Class所有public methods可供選取。今天卻出現怎麼樣按「.」都秀不出該Class裡的Methods。
解法如下。

在Eclipse中的 Window -> Preferences -> Java -> Editor -> Content Assist -> Advanced
裡的「Select the proposal kinds contained in the 'default' content assist list」把「Other Java Proposals」選項打勾後儲存,就可以解掉這怪問題了。

arrow
arrow
    全站熱搜

    小D 發表在 痞客邦 留言(0) 人氣()