css - Sublimecodeintel配置PHP问题请教Text3版本

php中文网
发布: 2016-10-10 11:55:59
原创
1763人浏览过

之前曾经有效配置过一次,但重做系统后软件清空了,现在又凭借记忆配置如下:

立即学习PHP免费学习笔记(深入)”;

AI Sofiya
AI Sofiya

一款AI驱动的多功能工具

AI Sofiya 109
查看详情 AI Sofiya

"PHP": {

<code> "php": "D:\Common Tools\PHPWEB\php53\php.exe", /*我的PHP安装路径*/
 "codeintel_scan_extra_dir": [],
 "codeintel_scan_files_in_project": true,
 "codeintel_max_recursive_dir_depth": 15,
 "codeintel_scan_exclude_dir":["D:\Common Tools\PHPWEB\WWW"] /*我的WEB项目路径*/</code>
登录后复制

}

有过配置经验的朋友麻烦指点下,第一项和最后一项我哪儿错了,O(∩_∩)O谢谢...!

回复内容:

之前曾经有效配置过一次,但重做系统后软件清空了,现在又凭借记忆配置如下:

立即学习PHP免费学习笔记(深入)”;

"PHP": {

<code> "php": "D:\Common Tools\PHPWEB\php53\php.exe", /*我的PHP安装路径*/
 "codeintel_scan_extra_dir": [],
 "codeintel_scan_files_in_project": true,
 "codeintel_max_recursive_dir_depth": 15,
 "codeintel_scan_exclude_dir":["D:\Common Tools\PHPWEB\WWW"] /*我的WEB项目路径*/</code>
登录后复制

}

有过配置经验的朋友麻烦指点下,第一项和最后一项我哪儿错了,O(∩_∩)O谢谢...!

<code>/*
   SublimeCodeIntel default settings
   All settings can be overridden in *.sublime-project file
*/
{
    /*
       Sets the mode in which SublimeCodeIntel runs:

       true - Enabled (the default).
       false - Disabled.
    */
    "codeintel": true,

    /* path to codeintel database */
    "codeintel_database_dir": "~/.codeintel",

    /*
       An array of language names which are enabled.
    */
    "codeintel_enabled_languages":
    [
       "JavaScript", "SCSS", "Python", "HTML",
       "Ruby", "Python3", "XML", "Sass", "HTML5", "Perl", "CSS",
       "Twig", "Less", "Node.js", "TemplateToolkit", "PHP"
    ],

    /*
       Maps syntax names to languages. This allows variations on a syntax
       (for example "Python (Django)") to be used. The key is
       the base filename of the .tmLanguage syntax files, and the value
       is the syntax it maps to.
    */
    "codeintel_syntax_map":
    {
       "Python Django": "Python"
    },


    /* ####################################################################### */
    /* the following settings can be overridden for each language individually */
    /* see "codeintel_language_settings" below!                                */
    /* ####################################################################### */

    /*
       Sets the mode in which SublimeCodeIntel's live autocomplete runs:

       true - Autocomplete popups as you type (the default).
       false - Autocomplete popups only when you request it.
    */
    "codeintel_live": true,

    /*
       Tooltips method:

       "popup" - Uses Autocomplete popup for tooltips.
       "panel" - Uses the output panel for tooltips.
       "status" - Uses the status bar for tooltips (was the default).
    */
    "codeintel_tooltips": "popup",


    /*
       "buffer" - add word completions from current view
       "all" - add word completions from all views from active window
       "none" - do not add word completions
    */
    "codeintel_word_completions": "buffer",

    /*
       Insert functions snippets.
    */
    "codeintel_snippets": true,

    /*
       Define global filters to exclude paths from scanning. Use the codeintel_config setting for language specific settings.
       ex: ["list/of","/path/to/exclude"]
       (Currently only working for JavaScript and PHP)
    */
    "codeintel_scan_exclude_dir":[],

    /* Code Scanning: Controls how the Code Intelligence system scans your source code files. */

    /* Maximum directory depth: */
    "codeintel_max_recursive_dir_depth": 10,

    /* Include all files and directories from the project base directory: */
    "codeintel_scan_files_in_project": true,

    /* API Catalogs: SublimeCodeIntel uses API catalogs to provide autocomplete and calltips for 3rd-party libraries.
      Add te libraries that you use in your code. Note: Adding all API catalogs for a particular language can lead to confusing results.

      Avaliable catalogs:
           PyWin32 (Python3) (for Python3: Python Extensions for Windows)
           PyWin32 (for Python: Python Extensions for Windows)
           Rails (for Ruby: Rails version 1.1.6)
           jQuery (for JavaScript: jQuery JavaScript library - version 1.9.1)
           Prototype (for JavaScript: JavaScript framework for web development)
           dojo (for JavaScript: Dojo Toolkit API - version 1.5.0)
           Ext_30 (for JavaScript: Ext JavaScript framework - version 3.0)
           HTML5 (for JavaScript: HTML5 (Canvas, Web Messaging, Microdata))
           MochiKit (for JavaScript: A lightweight JavaScript library - v1.4.2)
           Mozilla Toolkit (for JavaScript: Mozilla Toolkit API - version 1.8)
           XBL (for JavaScript: XBL JavaScript support - version 1.0)
           YUI (for JavaScript: Yahoo! User Interface Library - v2.8.1)
           Drupal (for PHP: A full-featured PHP content management/discussion engine -- v5.1)
           PECL (for PHP: A collection of PHP Extensions)
    */
    "codeintel_selected_catalogs": [],

    /*
        When editing within a defined scope, no live completion will trigger. ex: ["comment"]
     */
    "codeintel_exclude_scopes_from_complete_triggers": ["comment"],

    /*
       Defines a configuration for each language.
    */
    "codeintel_language_settings": {
        "Python3": {
            "python3": "/usr/local/bin/python3.3",
            "codeintel_scan_extra_dir": [
                "/Applications/Sublime Text.app/Contents/MacOS",
                "~/Library/Application Support/Sublime Text 3/Packages/SublimeCodeIntel/arch",
                "~/Library/Application Support/Sublime Text 3/Packages/SublimeCodeIntel/libs"
            ],
            "codeintel_scan_files_in_project": true,
            "codeintel_selected_catalogs": []
        },
        "JavaScript": {
            "codeintel_scan_extra_dir": [],
            "codeintel_scan_exclude_dir":["/build/", "/min/"],
            "codeintel_scan_files_in_project": false,
            "codeintel_max_recursive_dir_depth": 2,
            "codeintel_selected_catalogs": ["jQuery"]
        },
        "PHP": {
            "php": "/Applications/MAMP/bin/php/php5.5.3/bin/php",
            "codeintel_scan_extra_dir": [],
            "codeintel_scan_files_in_project": true,
            "codeintel_max_recursive_dir_depth": 15,
            "codeintel_scan_exclude_dir":["/Applications/MAMP/bin/php/php5.5.3/"]
        }
    }
}</code>
登录后复制

这是默认配置,外边还有一层codeintel_language_settings
你//换成/试试,空格转义试试。
我什么都不配置默认就可用啊。

相关标签:
PHP速学教程(入门到精通)
PHP速学教程(入门到精通)

PHP怎么学习?PHP怎么入门?PHP在哪学?PHP怎么学才快?不用担心,这里为大家提供了PHP速学教程(入门到精通),有需要的小伙伴保存下载就能学习啦!

下载
来源:php中文网
本文内容由网友自发贡献,版权归原作者所有,本站不承担相应法律责任。如您发现有涉嫌抄袭侵权的内容,请联系admin@php.cn
最新问题
开源免费商场系统广告
热门教程
更多>
最新下载
更多>
网站特效
网站源码
网站素材
前端模板
关于我们 免责申明 举报中心 意见反馈 讲师合作 广告合作 最新更新 English
php中文网:公益在线php培训,帮助PHP学习者快速成长!
关注服务号 技术交流群
PHP中文网订阅号
每天精选资源文章推送
PHP中文网APP
随时随地碎片化学习

Copyright 2014-2025 https://www.php.cn/ All Rights Reserved | php.cn | 湘ICP备2023035733号