Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我想从我的文档(org.eclipse.jface.text.Document)或我的插件工作区中获取文档上发生的错误列表,可以在 eclipse 的 Markers 视图中找到,如果可能的话完毕?
您需要获取资源引用 ( IResource),然后:
IResource
resource.findMarkers(IMarker.PROBLEM, true, IResource.DEPTH_INFINITE);
我是 Rails 编程的新手,我正在尝试对对象进行基本保存。我的控制器中的代码如下:
def create @subject = Subject.new @subject.resource_id = params[:subject][:resource_id] @su