Attaching sources in IntelliJ IDEA for scala project

前端 未结 4 1351
别那么骄傲
别那么骄傲 2021-02-08 01:10

I have Playframework 2 project with Scala (very small one). It uses Scala Anorm library.

I have the code like this:

package models
..
import anorm.SqlPar         


        
4条回答
  •  余生分开走
    2021-02-08 01:47

    Aha.. fixed.

    So: I used to use 'attach source' in the top of the window editor - it does not work (I guess it is a bug - maybe related to the scala plugin, because usually it works).

    But if try to attache sources to particular library - in "Project Structure -> Library -> +Attach File or Directories -> Sources" then it works.

    Thanks.

提交回复
热议问题