<!-- 
RSS generated by JIRA (9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66) at Thu Feb 08 03:01:08 UTC 2024

It is possible to restrict the fields that are returned in this document by specifying the 'field' parameter in your request.
For example, to request only the issue key and summary append 'field=key&field=summary' to the URL of your request.
-->
<rss version="0.92" >
<channel>
    <title>MongoDB Jira</title>
    <link>https://jira.mongodb.org</link>
    <description>This file is an XML representation of an issue</description>
    <language>en-us</language>    <build-info>
        <version>9.7.1</version>
        <build-number>970001</build-number>
        <build-date>13-04-2023</build-date>
    </build-info>


<item>
            <title>[SERVER-2767] Syntax highlighting in shell</title>
                <link>https://jira.mongodb.org/browse/SERVER-2767</link>
                <project id="10000" key="SERVER">Core Server</project>
                    <description>&lt;p&gt;Basic javascript syntax highlighting with bracket matching would be useful in the console, especially when entering nested braces. Of all the colorization various text editors perform, highlighting the current matched brace or paren can be one of the more timesaving features in resolving syntax errors.&lt;/p&gt;</description>
                <environment></environment>
        <key id="15128">SERVER-2767</key>
            <summary>Syntax highlighting in shell</summary>
                <type id="2" iconUrl="https://jira.mongodb.org/secure/viewavatar?size=xsmall&amp;avatarId=14711&amp;avatarType=issuetype">New Feature</type>
                                            <priority id="5" iconUrl="https://jira.mongodb.org/images/icons/priorities/trivial.svg">Trivial - P5</priority>
                        <status id="10038" iconUrl="https://jira.mongodb.org/images/icons/subtask.gif" description="">Backlog</status>
                    <statusCategory id="2" key="new" colorName="default"/>
                                    <resolution id="-1">Unresolved</resolution>
                                        <assignee username="massimiliano.marcon@mongodb.com">Massimiliano Marcon</assignee>
                                    <reporter username="mkeranen">MattK</reporter>
                        <labels>
                    </labels>
                <created>Wed, 16 Mar 2011 02:21:17 +0000</created>
                <updated>Tue, 10 May 2022 21:32:50 +0000</updated>
                                                                            <component>Shell</component>
                                        <votes>6</votes>
                                    <watches>14</watches>
                                                                                                                <comments>
                            <comment id="4539988" author="steven.vannelli" created="Tue, 10 May 2022 21:32:50 +0000"  >&lt;p&gt;Moving this ticket to the Backlog and removing the &quot;Backlog&quot; fixVersion as per our latest policy for using fixVersions. &lt;/p&gt;</comment>
                            <comment id="728093" author="pavel.sprogis" created="Fri, 26 Sep 2014 15:05:37 +0000"  >&lt;p&gt;It would be great to add syntax highlighting in mongo shell as soon as possible. mongo-hacker has nice highlighting but they add a lot of trash: change default methods behaviour, change prototypes, add a lot of methods in global scope, etc. And all I need is just colorizer. Is it possible to increase priority/severity of this improvment ?&lt;/p&gt;</comment>
                            <comment id="706494" author="alexczar" created="Thu, 28 Aug 2014 08:16:05 +0000"  >&lt;p&gt;There is an interesting &lt;a href=&quot;https://github.com/TylerBrock/mongo-hacker&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;mongo-hacker project&lt;/a&gt; which extends mongo shell. Among other features it provides json highlighting of documents. You may try to post a request for this feature there or fork and extend the project yourself.&lt;/p&gt;</comment>
                            <comment id="110193" author="tad" created="Mon, 16 Apr 2012 13:10:39 +0000"  >&lt;p&gt;The current brace-matching logic is too generous in highlighting &quot;matching&quot; braces and will highlight a &quot;(&quot; when you move the cursor over a &quot;]&quot;.  The code should highlight only correct matches.  For extra credit, it could also highlight incorrect matches in a different color, e.g. red.&lt;/p&gt;</comment>
                            <comment id="96090" author="mkeranen" created="Tue, 6 Mar 2012 22:15:29 +0000"  >&lt;p&gt;I have not had the chance to test the new versions yet, nor am I a Visual Studio user (any more), but highlighting both sounds useful. IIRC when entering this issue, I was working with nested docs, and matching braces on the shell was the source of more than one error on my part.&lt;/p&gt;</comment>
                            <comment id="96086" author="tad" created="Tue, 6 Mar 2012 22:09:22 +0000"  >&lt;p&gt;Have you tried what we have in current versions &amp;#8211; 2.0.3 and 2.1.0?  It highlights the matching brace as you move the cursor left and right.  It highlights only the matching one when the cursor is over a brace/bracket/parenthesis ... Visual Studio highlights both the one you are on and the matching one.  Is the current feature good, should we add the Visual Studio behavior, or is there something else you are looking for?&lt;/p&gt;

&lt;p&gt;Thanks!&lt;/p&gt;</comment>
                            <comment id="96055" author="mkeranen" created="Tue, 6 Mar 2012 21:02:02 +0000"  >&lt;p&gt;Brace matching was the motivation behind the request. Keyword highlighting would be a nice feature as well, but not as important as pairing braces visually.&lt;/p&gt;</comment>
                            <comment id="96052" author="tad" created="Tue, 6 Mar 2012 20:56:05 +0000"  >&lt;p&gt;We do limited brace matching now ... move the cursor over a brace or parenthesis and it will color the matching one ... but I&apos;m not sure what people are looking for here.  Syntax coloring of JavaScript keywords is probably not a quick feature if that is what this ticket means.  Indenting based on counting unmatched braces is probably doable.&lt;/p&gt;</comment>
                            <comment id="46397" author="redbeard0531" created="Thu, 4 Aug 2011 16:44:48 +0000"  >&lt;p&gt;Yes, but there is a chance it will get pulled before 2.0. in the 1.9 shells we already highlight matching braces.&lt;/p&gt;</comment>
                            <comment id="41787" author="tianon" created="Tue, 12 Jul 2011 01:55:48 +0000"  >&lt;p&gt;I noticed some commits in &lt;a href=&quot;https://github.com/mongodb/mongo/commits/master&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/mongodb/mongo/commits/master&lt;/a&gt; recently that addressed some issues with bracket highlighting; does that mean this is at least partially in-progress?&lt;/p&gt;</comment>
                            <comment id="25974" author="plasma" created="Wed, 16 Mar 2011 03:10:28 +0000"  >&lt;p&gt;Agreed. One extra minor feature too would be nested indenting when you type { and go to a new line. Currently you only indent at most one level (even if you then open another brace), it would be neat if it kept indenting as expected.&lt;/p&gt;</comment>
                    </comments>
                    <attachments>
                    </attachments>
                <subtasks>
                    </subtasks>
                <customfields>
                                                <customfield id="customfield_10050" key="com.atlassian.jira.toolkit:comments">
                        <customfieldname># Replies</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>11.0</customfieldvalue>
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                <customfield id="customfield_10055" key="com.atlassian.jira.ext.charting:firstresponsedate">
                        <customfieldname>Date of 1st Reply</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>Wed, 16 Mar 2011 03:10:28 +0000</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_10052" key="com.atlassian.jira.toolkit:dayslastcommented">
                        <customfieldname>Days since reply</customfieldname>
                        <customfieldvalues>
                                        1 year, 39 weeks, 1 day ago
    
                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_18254" key="com.onresolve.jira.groovy.groovyrunner:scripted-field">
                        <customfieldname>Dependencies</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue><![CDATA[]]></customfieldvalue>


                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_15850" key="com.atlassian.jira.plugins.jira-development-integration-plugin:devsummary">
                        <customfieldname>Development</customfieldname>
                        <customfieldvalues>
                            
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        <customfield id="customfield_10057" key="com.atlassian.jira.toolkit:lastusercommented">
                        <customfieldname>Last comment by Customer</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>true</customfieldvalue>
                        </customfieldvalues>
                    </customfield>
                                                                                            <customfield id="customfield_10056" key="com.atlassian.jira.toolkit:lastupdaterorcommenter">
                        <customfieldname>Last commenter</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>steven.vannelli@mongodb.com</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_11151" key="com.atlassian.jira.toolkit:LastCommentDate">
                        <customfieldname>Last public comment date</customfieldname>
                        <customfieldvalues>
                            1 year, 39 weeks, 1 day ago
                        </customfieldvalues>
                    </customfield>
                                                                                                                        <customfield id="customfield_10000" key="com.atlassian.jira.plugin.system.customfieldtypes:radiobuttons">
                        <customfieldname>Old_Backport</customfieldname>
                        <customfieldvalues>
                                <customfieldvalue key="10000"><![CDATA[No]]></customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                <customfield id="customfield_10051" key="com.atlassian.jira.toolkit:participants">
                        <customfieldname>Participants</customfieldname>
                        <customfieldvalues>
                                        <customfieldvalue>AlexCzar</customfieldvalue>
            <customfieldvalue>plasma</customfieldvalue>
            <customfieldvalue>massimiliano.marcon@mongodb.com</customfieldvalue>
            <customfieldvalue>mathias@mongodb.com</customfieldvalue>
            <customfieldvalue>mkeranen</customfieldvalue>
            <customfieldvalue>Pavel.Sprogis</customfieldvalue>
            <customfieldvalue>steven.vannelli@mongodb.com</customfieldvalue>
            <customfieldvalue>tad</customfieldvalue>
            <customfieldvalue>tianon</customfieldvalue>
    
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                        <customfield id="customfield_14254" key="com.pyxis.greenhopper.jira:gh-lexo-rank">
                        <customfieldname>Product Rank</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>1|hrkzpb:</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                <customfield id="customfield_12550" key="com.pyxis.greenhopper.jira:gh-lexo-rank">
                        <customfieldname>Rank</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>2|hr9is7:</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_10558" key="com.pyxis.greenhopper.jira:gh-global-rank">
                        <customfieldname>Rank (Obsolete)</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>4548</customfieldvalue>
                        </customfieldvalues>
                    </customfield>
                                                                                            <customfield id="customfield_23361" key="com.onresolve.jira.groovy.groovyrunner:scripted-field">
                        <customfieldname>Requested By</customfieldname>
                        <customfieldvalues>
                                

                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    <customfield id="customfield_22870" key="com.onresolve.jira.groovy.groovyrunner:scripted-field">
                        <customfieldname>Triagers</customfieldname>
                        <customfieldvalues>
                                

                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                                                                                                    <customfield id="customfield_14350" key="com.pyxis.greenhopper.jira:gh-lexo-rank">
                        <customfieldname>serverRank</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>1|ht0ogn:</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                    </customfields>
    </item>
</channel>
</rss>