Debian Codegraph @

src/web/backend/plugins/idutils/__init__.py

raw symbols SCIP
1 # Copyright (c) 2010 Anil Kumar
2 # All rights reserved.
3 #
4 # License: BSD
5
6 import os
7
8 def name():
9 return 'idutils'
10
11 def is_your_prj(path):
12 f = os.path.join(path, 'ID')
13 return os.path.exists(f)
14
15 def project_class():
16 from .IdutilsProject import ProjectIdutils
17 return ProjectIdutils
18
19 def description():
20 d = 'Preferred backend of seascope.\n'
21 d += 'Some advanced features of seascope are available only with this backend\n'
22 d += '\n'
23 d += 'It\'s really "idutils + ctags" backend.\n'
24 d += ' - idutils provides the indexing facility\n'
25 d += ' - ctags provides the language intelligence\n'
26 d += 'This backend combines both of these intelligently to provide superior source code browsing facility\n'
27 d += '\n'
28 d += 'A wide variety of languages are supported (ctags --list-languages)\n'
29 d += 'For example C, C++, Java, Python etc\n'
30 d += '\n'
31 d += 'If your source files are not being indexed by idutils then configure it using /usr/share/id-lang.map\n'
32 return d
33
34 priority = 800