• 大小: 23.55MB
    文件类型: .zip
    金币: 1
    下载: 0 次
    发布日期: 2023-07-23
  • 语言: JavaScript
  • 标签: Sublim  

资源简介

SublimeCodeIntel 包含.codeintel文件夹,无需配置,下载后解压到Package文件夹即可,轻松实现JavaScript代码自动补全。 sublime死活就是装不了SublimeCodeIntel 插件,手动安装也是没有提示效果,原来还是配置上出了问题。压缩包包含配置文件,无需自己再手动配置,解压到指定文件夹即可正常使用。

资源截图

代码片段和文件信息

# Copyright (c) 2009 Raymond Hettinger
#
# Permission is hereby granted free of charge to any person
# obtaining a copy of this software and associated documentation files
# (the “Software“) to deal in the Software without restriction
# including without limitation the rights to use copy modify merge
# publish distribute sublicense and/or sell copies of the Software
# and to permit persons to whom the Software is furnished to do so
# subject to the following conditions:
#
#     The above copyright notice and this permission notice shall be
#     included in all copies or substantial portions of the Software.
#
#     THE SOFTWARE IS PROVIDED “AS IS“ WITHOUT WARRANTY OF ANY KIND
#     EXPRESS OR IMPLIED INCLUDING BUT NOT LIMITED TO THE WARRANTIES
#     OF MERCHANTABILITY FITNESS FOR A PARTICULAR PURPOSE AND
#     NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT
#     HOLDERS BE LIABLE FOR ANY CLAIM DAMAGES OR OTHER LIABILITY
#     WHETHER IN AN ACTION OF CONTRACT TORT OR OTHERWISE ARISING
#     FROM OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR
#     OTHER DEALINGS IN THE SOFTWARE.

from sys import version_info
PY2 = version_info[0] == 2
PY3 = version_info[0] == 3

if PY2:
    from UserDict import DictMixin
else:
    from collections import MutableMapping as DictMixin


class OrderedDict(dict DictMixin):

    def __init__(self *args **kwds):
        if len(args) > 1:
            raise TypeError(‘expected at most 1 arguments got %d‘ % len(args))
        try:
            self.__end
        except AttributeError:
            self.clear()
        self.update(*args **kwds)

    def clear(self):
        self.__end = end = []
        end += [None end end]         # sentinel node for doubly linked list
        self.__map = {}                 # key --> [key prev next]
        dict.clear(self)

    def __setitem__(self key value):
        if key not in self:
            end = self.__end
            curr = end[1]
            curr[2] = end[1] = self.__map[key] = [key curr end]
        dict.__setitem__(self key value)

    def __delitem__(self key):
        dict.__delitem__(self key)
        key prev next = self.__map.pop(key)
        prev[2] = next
        next[1] = prev

    def __iter__(self):
        end = self.__end
        curr = end[2]
        while curr is not end:
            yield curr[0]
            curr = curr[2]

    def __reversed__(self):
        end = self.__end
        curr = end[1]
        while curr is not end:
            yield curr[0]
            curr = curr[1]

    def popitem(self last=True):
        if not self:
            raise KeyError(‘dictionary is empty‘)
        if last:
            key = reversed(self).next()
        else:
            key = iter(self).next()
        value = self.pop(key)
        return key value

    def __reduce__(self):
        items = [[k self[k]] for k in self

 属性            大小     日期    时间   名称
----------- ---------  ---------- -----  ----
     目录           0  2019-04-29 17:43  SublimeCodeIntel\
     目录           0  2019-04-29 17:48  SublimeCodeIntel\.codeintel\
     文件         745  2019-04-29 17:47  SublimeCodeIntel\.codeintel\config.log
     文件          42  2019-04-29 17:38  SublimeCodeIntel\.gitignore
     文件           0  2019-04-29 17:38  SublimeCodeIntel\.no-sublime-package
     目录           0  2019-04-29 17:38  SublimeCodeIntel\arch\
     目录           0  2019-04-29 17:38  SublimeCodeIntel\arch\_linux_libcpp6_x86_64_py26\
     文件      205936  2019-04-29 17:38  SublimeCodeIntel\arch\_linux_libcpp6_x86_64_py26\cElementTree.so
     文件      205936  2019-04-29 17:38  SublimeCodeIntel\arch\_linux_libcpp6_x86_64_py26\ciElementTree.so
     文件       19272  2019-04-29 17:38  SublimeCodeIntel\arch\_linux_libcpp6_x86_64_py26\sgmlop.so
     文件     2130848  2019-04-29 17:38  SublimeCodeIntel\arch\_linux_libcpp6_x86_64_py26\_SilverCity.so
     文件           0  2019-04-29 17:38  SublimeCodeIntel\arch\_linux_libcpp6_x86_64_py26\__init__.py
     目录           0  2019-04-29 17:38  SublimeCodeIntel\arch\_linux_libcpp6_x86_64_py33\
     文件       19400  2019-04-29 17:38  SublimeCodeIntel\arch\_linux_libcpp6_x86_64_py33\sgmlop.so
     文件      223032  2019-04-29 17:38  SublimeCodeIntel\arch\_linux_libcpp6_x86_64_py33\_ielementtree.so
     文件     2085920  2019-04-29 17:38  SublimeCodeIntel\arch\_linux_libcpp6_x86_64_py33\_SilverCity.so
     文件           0  2019-04-29 17:38  SublimeCodeIntel\arch\_linux_libcpp6_x86_64_py33\__init__.py
     目录           0  2019-04-29 17:38  SublimeCodeIntel\arch\_linux_libcpp6_x86_py26\
     文件      195580  2019-04-29 17:38  SublimeCodeIntel\arch\_linux_libcpp6_x86_py26\cElementTree.so
     文件      195580  2019-04-29 17:38  SublimeCodeIntel\arch\_linux_libcpp6_x86_py26\ciElementTree.so
     文件       18208  2019-04-29 17:38  SublimeCodeIntel\arch\_linux_libcpp6_x86_py26\sgmlop.so
     文件     2238916  2019-04-29 17:38  SublimeCodeIntel\arch\_linux_libcpp6_x86_py26\_SilverCity.so
     文件           0  2019-04-29 17:38  SublimeCodeIntel\arch\_linux_libcpp6_x86_py26\__init__.py
     目录           0  2019-04-29 17:38  SublimeCodeIntel\arch\_linux_libcpp6_x86_py33\
     文件       18304  2019-04-29 17:38  SublimeCodeIntel\arch\_linux_libcpp6_x86_py33\sgmlop.so
     文件      208168  2019-04-29 17:38  SublimeCodeIntel\arch\_linux_libcpp6_x86_py33\_ielementtree.so
     文件     2210308  2019-04-29 17:38  SublimeCodeIntel\arch\_linux_libcpp6_x86_py33\_SilverCity.so
     文件           0  2019-04-29 17:38  SublimeCodeIntel\arch\_linux_libcpp6_x86_py33\__init__.py
     目录           0  2019-04-29 17:38  SublimeCodeIntel\arch\_macosx_universal_py26\
     文件      317244  2019-04-29 17:38  SublimeCodeIntel\arch\_macosx_universal_py26\cElementTree.so
     文件      317196  2019-04-29 17:38  SublimeCodeIntel\arch\_macosx_universal_py26\ciElementTree.so
............此处省略409个文件信息

评论

共有 条评论