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

        搜索字符串文字

        时间:2023-08-25
      1. <tfoot id='ZFc4s'></tfoot>
        • <i id='ZFc4s'><tr id='ZFc4s'><dt id='ZFc4s'><q id='ZFc4s'><span id='ZFc4s'><b id='ZFc4s'><form id='ZFc4s'><ins id='ZFc4s'></ins><ul id='ZFc4s'></ul><sub id='ZFc4s'></sub></form><legend id='ZFc4s'></legend><bdo id='ZFc4s'><pre id='ZFc4s'><center id='ZFc4s'></center></pre></bdo></b><th id='ZFc4s'></th></span></q></dt></tr></i><div id='ZFc4s'><tfoot id='ZFc4s'></tfoot><dl id='ZFc4s'><fieldset id='ZFc4s'></fieldset></dl></div>

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

                <tbody id='ZFc4s'></tbody>

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

            • <legend id='ZFc4s'><style id='ZFc4s'><dir id='ZFc4s'><q id='ZFc4s'></q></dir></style></legend>

                • 本文介绍了搜索字符串文字的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

                  问题描述

                  在寻求本地化的过程中,我需要找到散落在我们源代码中的所有字符串文字.我正在寻找一种将其编写到修改后源存储库检查中的方法.(在某些人检查某些内容后,IE 有一个框设置来检查此统计信息)我可能会使用 NAnt 和 CruiseControl 或其他东西来处理 CVS 的管理(在我的情况下是 StarTeam :()但是你知道任何可编写脚本的吗(或命令行)实用程序来准确循环通过源代码查找字符串文字?我意识到我可以根据正则表达式进行简单的字符串查找,但想要更多的收益.(也许分析字符串或将其分类) 因为很多时候字符串不一定需要翻译.有什么想法吗?

                  In the quest for localization I need to find all the string literals littered amongst our source code. I was looking for a way to script this into a post-modification source repository check. (I.E. after some one checks something in have a box setup to check this stat) I'll probably use NAnt and CruiseControl or something to handle the management of the CVS (Well StarTeam in my case :( ) But do you know of any scriptable (or command line) utility to accurately cycle through source code looking for string literals? I realize I could do simple string look up based on regular expressions but want a little more bang for my buck. (Maybe analyze the string or put it into categories) Because a lot of times the string may not necessarily require translation. Any ideas?

                  推荐答案

                  Visual Studio 2010 及更早版本:

                  Visual Studio 2010 and earlier:

                  1. 在文件中查找 (CTRL+SHIFT+F)
                  2. 使用:正则表达式
                  3. 查找::q(带引号的字符串)
                  4. 查找全部

                  查找结果"窗口现在将包含所有文件的报告,包括行号和带引号的字符串的行本身.

                  Find Results window will now contain a report of all files, with line numbers and the line itself with the quoted string.

                  对于 Visual Studio 2012 及更高版本,搜索 ((".+?")|('.+?')) (参考,对 @CincauHangus)

                  For Visual Studio 2012 and later search for ((".+?")|('.+?')) (reference, hat-tip to @CincauHangus)

                  这篇关于搜索字符串文字的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持html5模板网!

                  上一篇:客户特定语言的自定义文化? 下一篇:Aspnet Core 十进制绑定不适用于非英语文化

                  相关文章

                  最新文章

                    • <bdo id='Se3ep'></bdo><ul id='Se3ep'></ul>
                    <legend id='Se3ep'><style id='Se3ep'><dir id='Se3ep'><q id='Se3ep'></q></dir></style></legend>
                  1. <small id='Se3ep'></small><noframes id='Se3ep'>

                    <tfoot id='Se3ep'></tfoot>

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