如何使用Play将错误页面动态链接到Eclipse中的文件!框架?

5 eclipse playframework

application.conf中你有这个:

# Open file from errors pages
# ~~~~~
# If your text editor supports opening files by URL, Play! will
# dynamically link error pages to files 
#
# Example, for textmate:
play.editor=txmt://open?url=file://%s&line=%s
Run Code Online (Sandbox Code Playgroud)

我怎样才能让它适用于eclipse?

Per*_*eló 0

尽管很旧并且仍然是一个孵化项目,但它可以完成这项工作:Eclipse Web Interface

安装它,关闭 eclipse 并再次启动它(重新启动对我来说不起作用)。

现在你可以告诉 play 如何将错误链接到 eclipse:

play.editor=http://localhost:34567/?command=org.eclipse.soc.ewi.examples.commands.openfile&path=%s&line=%s
Run Code Online (Sandbox Code Playgroud)

华泰