• <ins id="pjuwb"></ins>
    <blockquote id="pjuwb"><pre id="pjuwb"></pre></blockquote>
    <noscript id="pjuwb"></noscript>
          <sup id="pjuwb"><pre id="pjuwb"></pre></sup>
            <dd id="pjuwb"></dd>
            <abbr id="pjuwb"></abbr>

            tqsheng

            go.....
            隨筆 - 366, 文章 - 18, 評論 - 101, 引用 - 0
            數據加載中……

            A Few of our Favorite Things

            Posted by Matthew E under Code Editors, Productivity, Programming, SlickEdit Products
            [3] Comments
            Whenever we’re putting together marketing materials, advertising copy, checklists of features to demo at trade shows, etc, a common start of the conversation is “What are the top features of SlickEdit”. Feature lists are all well and good, but just because we think a feature makes a Top Ten list doesn’t mean it resonates with every user. And features are usually spoken of in broad brush strokes, like “Version Control Integration” or “Configurable Keyboard Emulations”. But what really makes your editor an indispensable tool is the collection of small features and tricks that you use every day. And there is no Top Ten list that covers this, as everyone’s list is different.
            We did a quick poll around the office to gather up some of the features that we use all the time. And yes, everyone’s list was quite different. So in no particular order, here are a few of our favorite things in SlickEdit.
            Italic bold below denotes a Slick-C command, like complete-next, which can be executed from the SlickEdit command line or bound to a keyboard shortcut.
            complete-next and complete-prev
            Bound to Ctrl+Shift+> and Ctrl+Shift+< in most emulations. This searches for prefix matches in your current document. Very handy for completing words when you’re working in plain text or in a file format where Context Tagging is not able to provide symbol matches, or when you want to pick up non-symbol matches, like words found inside comments.
            where-is, what-is, and bind-to-key
            For those of you who like to keep your hands on the keyboard as much as possible, you need this. Sure this information is available on the menus and in the Options dialog, but why mouse around? Entering where-is on the SlickEdit command line will allow you to enter a Slick-C command to see if there’s a keyboard shortcut defined for it, while what-is lets you see the command name for a shortcut, or check if it’s free. Use bind-to-key to define a shortcut for something that’s currently not bound to one.
            Aliases with %\n
            If we had to list which features of SlickEdit we feel are underutilized outside our office walls, Aliases would be at the top of every list. Aliases simply allow you to type a short sequence which will be expanded, which is great for frequently used boilerplate text. They can be defined globally or on a per-language basis. We do provide some aliases out-of-the-box, but the real power is in creating your own. Go to the Tools > Options dialog, and search for “Aliases” to see where you can define them.
            A common usage is generating “Caveman Debugging” statements. Here’s a sample alias for C.
            printf(" %\n: %\c \n");
            The SlickEdit alias facility has several escape sequences, and %\n is the sequence for “current function name”, and %\c positions the cursor for editing after the text expansion is made.
            toggle-comment
            This feature originated as a macro written by one of our customers, which he shared on our community forums. It was so popular that we made it part of the product. It’s a great complement to comment-lines and comment-block.
            Quick replacements from the command line
            Doing a quick search and replace inside the current file is a snap using the c/old/new/ syntax on the command line. Even more power comes from using command modifiers after the trailing slash. For example, the ‘m’ modifier means ‘mark’ (our term for current selection), and ‘*’ means globally without confirmation prompting. So to change all instances of char to wchar_t in your current selection without a prompt, you would enter c/char/wchar_t/m* on the command line, and you’re done.
            svc-diff-with-tip
            This is a super-quick way to compare your current file with the most recent version in version control, bypassing the version control history dialog. This currently supports CVS, Subversion, and Git. And if you’re using Subversion, and not currently able to connect to the repository, svn-diff-with-base performs a comparison with the ‘clean’ copy from your most recent update.
            svn-get-annotated-buffer and cvs-get-annotated-buffer
            A wrapper around the “blame” command for CVS and Subversion. Warning: May be habit-forming.
            list-buffers and project-load
            These bring up the Files tool window. Stop right there! You’re about to skip past this one because the word “Files” is pretty plain, and “bring up the Files tool window” sounds pretty dull. Do yourself a favor and try them out, and perhaps set up keyboard bindings for them. list-buffers will show you a searchable list of all the files you currently have open, allowing you to quickly switch to one without having to search through file tabs. Handy if you tend to leave a lot of files open in the editor. If you have a project open, the Project and Workspace tabs of the Files window allow you to find any file and open it from there. Very helpful for large projects.
            Vim cursor keys
            I hesitated to include this one initially. It’s not specific to SlickEdit, of course, and is only one of the 15 keyboard emulations we define. But if you’re a vi/vim adherent, having a high fidelity vim emulation built into your IDE is a big deal. It allows you to get all the benefits of the tools and features built into the environment without having to rewire you brain when you actually need to edit code. If you’ve ever accidently typed a stray ‘j’, ‘h’, or ‘dd’ or into an instant messaging client, you know exactly what I mean.
            What feature(s) is/are highest on your list?

            posted on 2012-07-09 10:54 tqsheng 閱讀(298) 評論(0)  編輯 收藏 引用 所屬分類: slickedit

            久久国产欧美日韩精品免费| 亚洲午夜久久影院| 亚洲а∨天堂久久精品9966| 欧美一区二区久久精品| 亚洲中文字幕无码一久久区| 精品国产91久久久久久久| 久久夜色精品国产www| 一本色道久久88精品综合| 99久久精品久久久久久清纯| 久久精品中文字幕大胸| 99久久国产亚洲高清观看2024| 久久综合亚洲鲁鲁五月天| 91精品国产综合久久香蕉 | 亚洲综合久久夜AV | 成人免费网站久久久| 香蕉久久久久久狠狠色| 色成年激情久久综合| 国产精品久久久久久久久久影院 | 久久婷婷五月综合97色一本一本| 一级做a爱片久久毛片| 久久99精品久久久久久久不卡| 精品久久人人做人人爽综合 | 久久精品不卡| 一本一道久久精品综合| 色综合久久精品中文字幕首页| 日韩精品久久久肉伦网站| 综合久久一区二区三区| 久久久久久国产精品美女| 久久精品成人欧美大片| 色综合色天天久久婷婷基地| 国产99精品久久| 狠狠色婷婷综合天天久久丁香 | 久久精品国产99久久丝袜| 久久久久综合网久久| 久久青青草原国产精品免费| 国产亚洲色婷婷久久99精品| 久久99精品久久久久久hb无码| 伊人久久大香线焦AV综合影院 | 狠狠人妻久久久久久综合蜜桃| 国产精品伦理久久久久久| 国产—久久香蕉国产线看观看 |