<i id='wFVMd'><tr id='wFVMd'><dt id='wFVMd'><q id='wFVMd'><span id='wFVMd'><b id='wFVMd'><form id='wFVMd'><ins id='wFVMd'></ins><ul id='wFVMd'></ul><sub id='wFVMd'></sub></form><legend id='wFVMd'></legend><bdo id='wFVMd'><pre id='wFVMd'><center id='wFVMd'></center></pre></bdo></b><th id='wFVMd'></th></span></q></dt></tr></i><div id='wFVMd'><tfoot id='wFVMd'></tfoot><dl id='wFVMd'><fieldset id='wFVMd'></fieldset></dl></div>
    • <bdo id='wFVMd'></bdo><ul id='wFVMd'></ul>
  1. <legend id='wFVMd'><style id='wFVMd'><dir id='wFVMd'><q id='wFVMd'></q></dir></style></legend>

  2. <tfoot id='wFVMd'></tfoot>

    <small id='wFVMd'></small><noframes id='wFVMd'>

    1. 如何在特定文件的基础上禁用 Eclipse 中的编译器警告?

      How can I disable compiler warnings in Eclipse on a file specific basis?(如何在特定文件的基础上禁用 Eclipse 中的编译器警告?)

        <tbody id='paMo5'></tbody>

        <i id='paMo5'><tr id='paMo5'><dt id='paMo5'><q id='paMo5'><span id='paMo5'><b id='paMo5'><form id='paMo5'><ins id='paMo5'></ins><ul id='paMo5'></ul><sub id='paMo5'></sub></form><legend id='paMo5'></legend><bdo id='paMo5'><pre id='paMo5'><center id='paMo5'></center></pre></bdo></b><th id='paMo5'></th></span></q></dt></tr></i><div id='paMo5'><tfoot id='paMo5'></tfoot><dl id='paMo5'><fieldset id='paMo5'></fieldset></dl></div>
        • <legend id='paMo5'><style id='paMo5'><dir id='paMo5'><q id='paMo5'></q></dir></style></legend><tfoot id='paMo5'></tfoot>

                <bdo id='paMo5'></bdo><ul id='paMo5'></ul>

                <small id='paMo5'></small><noframes id='paMo5'>

                本文介绍了如何在特定文件的基础上禁用 Eclipse 中的编译器警告?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着跟版网的小编来一起学习吧!

                问题描述

                在我的 Eclipse 项目中有一些生成的 .java 文件,我需要将它们用于 SQLJ,但我无法移至单独的项目(由于管理开销).这些文件也会定期重新生成,因此很遗憾无法编辑它们.

                In my Eclipse project are a handful of generated .java files that I need to use for SQLJ and I can't move to a separate project (due to Administrative Overhead). These files are also regularly regenerated so editing them is unfortunately out.

                不幸的是,这些文件生成了数百个 java 编译器警告,这些警告淹没了我在实际可以编辑的文件上收到的有用警告.

                Unfortunately these files generate a few hundred java compiler warnings which drown out the useful warnings I get on files that I actually can edit.

                在 Eclipse 中有什么方法可以说 Ignore all the warnings of a file-by-file based?或者我可以屏蔽一个特定的子目录吗?

                Is there any way in Eclipse to say Ignore all the warnings of a file-by-file basis? Or can I block out a specific sub-directory?

                推荐答案

                eclipse中的问题"视图可以过滤;我总是将其设置为仅在选定元素及其子元素上".当然,这更像是一种解决方法,但它减少了将文件放在同一个项目中的影响.(请注意,即使您必须将它们放在同一个项目中,也可以将它们保存在单独的源文件夹中.

                The "problems" view in eclipse can be filtered; I always have it set to "on selected element and its children only". Granted, this is more of a work-around, but it lessens the impact of having the files in the same project. (Note that even if you must have them in the same project, you can keep them in a separate source folder).

                要配置过滤器,请在问题视图的右上角找到带有工具提示查看菜单"的向下箭头图标.点击它,然后点击配置内容".

                To configure the filters, find the icon with a downward arrow with tooltip "View Menu" on the top right of the problems view. Click it, and then click "configure contents".

                这篇关于如何在特定文件的基础上禁用 Eclipse 中的编译器警告?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持跟版网!

                本站部分内容来源互联网,如果有图片或者内容侵犯了您的权益,请联系我们,我们会在确认后第一时间进行删除!

                相关文档推荐

                Compiling C++ for the JVM(为 JVM 编译 C++)
                Compile to java bytecode (without using Java)(编译成java字节码(不使用Java))
                How to drive C#, C++ or Java compiler to compute 1+2+3+...+1000 at compile time?(如何在编译时驱动 C#、C++ 或 Java 编译器计算 1+2+3+...+1000?)
                Java ClassLoader: load same class twice(Java ClassLoader:两次加载相同的类)
                How to debug .class files in ECLIPSE?(如何在 ECLIPSE 中调试 .class 文件?)
                Java quot;The blank final field may not have been initializedquot; Anonymous Interface vs Lambda Expression(Java“可能尚未初始化空白的最终字段匿名接口与 Lambda 表达式)
                1. <tfoot id='W9SUI'></tfoot>
                2. <small id='W9SUI'></small><noframes id='W9SUI'>

                  <legend id='W9SUI'><style id='W9SUI'><dir id='W9SUI'><q id='W9SUI'></q></dir></style></legend>
                      <i id='W9SUI'><tr id='W9SUI'><dt id='W9SUI'><q id='W9SUI'><span id='W9SUI'><b id='W9SUI'><form id='W9SUI'><ins id='W9SUI'></ins><ul id='W9SUI'></ul><sub id='W9SUI'></sub></form><legend id='W9SUI'></legend><bdo id='W9SUI'><pre id='W9SUI'><center id='W9SUI'></center></pre></bdo></b><th id='W9SUI'></th></span></q></dt></tr></i><div id='W9SUI'><tfoot id='W9SUI'></tfoot><dl id='W9SUI'><fieldset id='W9SUI'></fieldset></dl></div>
                        • <bdo id='W9SUI'></bdo><ul id='W9SUI'></ul>
                            <tbody id='W9SUI'></tbody>