Eclipse中的任务视图不显示TODO? [英] Tasks view in Eclipse not showing TODOs?

查看:365
本文介绍了Eclipse中的任务视图不显示TODO?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

新评新新新新新新旗新新新新旗新新旗旗新新旗新新旗新新旗旗新新旗新新旗新新旗新新旗旗新1992 200 200新新新新旗新新旗200新新新新旗新新旗2001-新新新新旗新新旗2001-新新新新新旗2001-新新新新旗新新旗2001-新新新新旗2001-新新新新新旗2001-新新新新旗200 Chanolol。已经将我自己的FEATURE标签定义为文本包含FEATURE,但没有显示。


  • 我无法将node.js任务限制在我自己的项目中。当我将其设置为显示所有时,它将显示我正在使用的节点模块的数百个任务。当我将其设置为截图时,它不会再显示任何任务。


  • 我可以生活在1.但是2.对我来说是一个严重的问题...
    这是开普勒的错误还是配置错误?



    X-454545 X-454545 X-454545 X-454545 X-454545 X-454545 X- 20045 X-454545 X-454545 X- 20045 X-454545 X-454545 X- >



    我的项目是所选的工作集之一。任务标签在首选项 - > Javascript中启用。



    更新



    原来是几个相关的问题在一起,所以这里试图组织和总结已经取得了哪些进展:(以下所有内容仅涉及问题的第2点)


    1. 显示所有不尊重所选范围是所需的行为。范围是配置的一部分(UI通过将其放在配置组窗格中)提示,显示所有设置绕过。所以这实际上并不是一个功能错误,只是误导了UI。我提出了这个问题


      I'm running Eclipse Kepler with Nodeclipse and am having trouble getting the Tasks view to show my markers.

      1. I have defined my own FEATURE tag as "text contains FEATURE" but it's not showing up.

      2. I can't limit my node.js tasks to my own project. When I set it to "show all", it'll show me hundreds of tasks from node modules I'm using. When I set it as in the screenshot, it doesn't show me any tasks at all any more.

      I could live with 1. but 2. is a serious problem for me... Is this a bug in Kepler or do I have a configuration error?

      This is how I have it configured:

      My project is among the selected working sets. Task tags are enabled in Preferences->Javascript.

      UPDATE

      This has turned out to be several related issues coming together, so here's an attempt to organize and summarize what progress has been made: (all the following only deals with point 2 of the question)

      1. "Show all" not respecting the selected scope is the desired behavior. Scopes are part of the configuration (the UI hints at this by putting them in the "Configuration" group pane), which the "Show all" setting bypasses. So this is not actually a functionality error, just misleading UI. I've raised the issue here

      2. Javascript tasks not being shown at all can be worked around by going to Preferences -> Javascript -> Validator -> Task Tags, changing something and applying. This triggers a rebuild and incorporates any task tags there are in the code. However, future tasks are not incorporated automatically. This appears to be a known issue.

      3. The problem of node modules polluting the tasks view can be solved by making the folder a library folder instead of a source folder. See this answer to this question

      解决方案

      One of the wizards on the Eclipse BugZilla explained an easy solution to it showing TODOs from node modules:

      The node_modules folder has to be made a library folder. To do that, one needs to go to Project -> Properties -> Javascript -> Include Path, choose the "Libraries" tab, click "Add a library folder..." and set it to the node_modules subfolder.

      Simple as that.

      Here is the source: https://bugs.eclipse.org/bugs/show_bug.cgi?id=432231#c4

      UPDATED:

      Nodeclipse project config will be updated in 0.15 to solve the issue

      See https://github.com/Nodeclipse/nodeclipse-1/issues/143

      这篇关于Eclipse中的任务视图不显示TODO?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

    查看全文
    登录 关闭
    扫码关注1秒登录
    发送“验证码”获取 | 15天全站免登陆