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 8398053
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 9, 20262026-06-09T20:56:22+00:00 2026-06-09T20:56:22+00:00

I recently switched editors from Netbeans IDE to Sublime Text 2. In Netbeans when

  • 0

I recently switched editors from Netbeans IDE to Sublime Text 2. In Netbeans when coding PHP if I had a syntax error it would have an error icon at the start of that line.

Sublime Text 2 doesn’t seem to do this out of the box. What plugin do I have to install to get this feature?

In Netbeans you can set up code templates. You will basically write for example something like this:

<script src="//ajax.googleapis.com/ajax/libs/jquery/1.8.0/jquery.min.js"></script>

and call the template jquery. Then everytime you need to use jquery on a page you just tyoe jquery and hit tab and the script tag will be inserted in that spot.

How to do this type of code template/shortcut in Sublime?

  • 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-09T20:56:23+00:00Added an answer on June 9, 2026 at 8:56 pm

    Php Syntax Check

    The SublimeLinter plugin supports automatic php syntax checking:

    https://github.com/SublimeLinter/SublimeLinter

    Template

    For javascript sources you can use the cdnjs plugin:

    https://github.com/dafrancis/Sublime-Text–cdnjs

    More generally, you can create your own templates. Here’s one to accomplish what you’d like. Save this in the User’s folder of your packages directory (go to Preferences -> Browse Packages) under the name “jquery.sublime-snippet”

    <snippet>
        <content><![CDATA[
    <script src="//ajax.googleapis.com/ajax/libs/jquery/1.8.0/jquery.min.js"></script>
    ]]></content>
        <tabTrigger>jquery</tabTrigger>
    </snippet>
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have recently switched from Netbeans to Eclipse. I have a project which contains
I recently switched from Eclipse to NetBeans (although I don't have any current Eclipse
I recently switched from eclipse and netbeans to intellij, but I have also liferay
I recently switched from VB to C# and have, for the most part, been
I recently switched from intermediate mode and have a new rendering process. There must
I recently switched from MySQL to PostgreSQL. I have one problem left however. Previously,
I recently switched to Vim at the request of a friend after Sublime Text
We recently switched from clear case to star team. In clear case, we had
I recently switched to PHPCassa to manage db connection in my PHP platform. This
I recently switched to a new setup that is reporting PHP Notices; my code

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.