Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8405549
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 9, 20262026-06-09T22:52:50+00:00 2026-06-09T22:52:50+00:00

To speed things up for me, I’d like to create a Sublime Text 2

  • 0

To speed things up for me, I’d like to create a Sublime Text 2 snippet that outputs the following code (taken from this Stack Overflow answer):

/* <![CDATA[ */
/* ]]> */

I tried this:

<snippet>
    <content><![CDATA[
/* <![CDATA[ */
/* ]]> */
]]></content>
    <description>JavaScript: CDATA</description>
    <tabTrigger>jsc</tabTrigger>
</snippet>

But when I use the above code, this is the output I get:

/* <![CDATA[ */
/* 

Notice that the ]]> */ portion is missing. I’ve tried escaping it, but can’t get it to work. Any ideas?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-09T22:52:51+00:00Added an answer on June 9, 2026 at 10:52 pm

    No ideas, but i can suggest a trick:

    <snippet>
        <content><![CDATA[
    /* <![CDATA[ */
    /*  ${1:]]}> */
    ]]></content>
        <description>JavaScript: CDATA</description>
        <tabTrigger>jsc</tabTrigger>
    </snippet>
    

    An extra TAB is required but it works.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

When using P/Invoke, adding [SuppressUnmanagedCodeSecurity] can speed calls from managed code into unmanaged code
We really like Psyco to speed things up, but it also has some drawbacks:
I'm having some issues with my code and not sure how to speed things
I am thinking about reworking my GPU OpenCL kernel to speed things up. The
To speed up some unit tests that minimize and maximize windows, I want to
How can I speed up a recursive code using OpenMP? Basically, I have to
I'm looking to speed up a loop that assigns a rating to rows based
I have a few blocks of code, inside a function of some object, that
I am using C++ and OpenCV to process some images taken from a Webcam
I've started using some basic threading in c++0x to speed things up. For a

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.