BashSupportPart Class Reference
Supports bash language. More...
#include <bashsupport_part.h>
Inheritance diagram for BashSupportPart:

Public Member Functions | |
BashSupportPart (QObject *parent, const char *name, const QStringList &) | |
virtual | ~BashSupportPart () |
Protected Member Functions | |
virtual Features | features () |
Returns the feature set of the language. | |
virtual KMimeType::List | mimeTypes () |
Returns a typical mimetype list for the support language should be configurable in the languagesupport dialog. | |
Private Slots | |
void | slotRun () |
void | projectConfigWidget (KDialogBase *dlg) |
void | projectOpened () |
void | projectClosed () |
void | savedFile (const QString &fileName) |
void | addedFilesToProject (const QStringList &fileList) |
void | removedFilesFromProject (const QStringList &fileList) |
void | parse () |
void | slotActivePartChanged (KParts::Part *part) |
Private Member Functions | |
void | startApplication (const QString &program) |
QString | interpreter () |
void | parse (const QString &fileName) |
void | addAttribute (const QString &name, FileDom file, uint line) |
Private Attributes | |
BashCodeCompletion * | m_cc |
QStringList | m_vars |
Detailed Description
Supports bash language.
- Feature(s):
- function browser support
runs bash script in external terminal
syntax highlighting and code folding via katepart
Code completion works for variables
Consult Programming Languages Support Status for a up to date features/status of this programming language support part.
Definition at line 50 of file bashsupport_part.h.
Constructor & Destructor Documentation
|
|
|
Definition at line 64 of file bashsupport_part.cpp. References m_cc. |
Member Function Documentation
|
Definition at line 276 of file bashsupport_part.cpp. References addAttribute(), KDevPlugin::codeModel(), CodeModel::create(), endl(), file, kdDebug(), and VariableDom. Referenced by addAttribute(), and parse(). |
|
Definition at line 138 of file bashsupport_part.cpp. References addedFilesToProject(), endl(), kdDebug(), parse(), KDevPlugin::project(), and KDevLanguageSupport::updatedSourceInfo(). Referenced by addedFilesToProject(), and projectOpened(). |
|
Returns the feature set of the language. This is e.g. used by the class view to decide which organizer items to display and which not. Reimplemented from KDevLanguageSupport. Definition at line 189 of file bashsupport_part.cpp. |
|
Definition at line 110 of file bashsupport_part.cpp. References KDevPlugin::projectDom(). Referenced by slotRun(). |
|
Returns a typical mimetype list for the support language should be configurable in the languagesupport dialog.
Reimplemented from KDevLanguageSupport. Definition at line 431 of file bashsupport_part.cpp. References KMimeType::List, and KMimeType::Ptr. |
|
Definition at line 194 of file bashsupport_part.cpp. References addAttribute(), CodeModel::addFile(), KDevPlugin::codeModel(), CodeModel::create(), endl(), FileDom, FunctionDom, CodeModel::globalNamespace(), CodeModel::hasFile(), kdDebug(), m_cc, m_vars, CodeModel::removeFile(), BashCodeCompletion::setVars(), and VariableList. |
|
Definition at line 118 of file bashsupport_part.cpp. References KDevProject::allFiles(), endl(), kdDebug(), KDevPlugin::project(), KDevProject::projectDirectory(), and KDevLanguageSupport::updatedSourceInfo(). Referenced by addedFilesToProject(), projectOpened(), and savedFile(). |
|
Definition at line 94 of file bashsupport_part.cpp. |
|
Definition at line 71 of file bashsupport_part.cpp. References projectConfigWidget(). Referenced by projectConfigWidget(). |
|
Definition at line 79 of file bashsupport_part.cpp. References addedFilesToProject(), endl(), kdDebug(), parse(), KDevPlugin::project(), and removedFilesFromProject(). |
|
Definition at line 153 of file bashsupport_part.cpp. References KDevPlugin::codeModel(), endl(), CodeModel::hasFile(), kdDebug(), KDevPlugin::project(), KDevProject::projectDirectory(), removedFilesFromProject(), and CodeModel::removeFile(). Referenced by projectOpened(), and removedFilesFromProject(). |
|
Definition at line 171 of file bashsupport_part.cpp. References KDevProject::allFiles(), endl(), kdDebug(), length(), parse(), KDevPlugin::project(), and savedFile(). Referenced by savedFile(). |
|
Definition at line 270 of file bashsupport_part.cpp. References endl(), kdDebug(), m_cc, BashCodeCompletion::setActiveEditorPart(), and slotActivePartChanged(). Referenced by slotActivePartChanged(). |
|
Definition at line 99 of file bashsupport_part.cpp. References KParts::PartManager::activePart(), file, interpreter(), KDevPlugin::partController(), KURL::path(), startApplication(), and KParts::ReadOnlyPart::url(). |
|
Definition at line 182 of file bashsupport_part.cpp. References KDevPlugin::appFrontend(), endl(), kdDebug(), KDevAppFrontend::startAppCommand(), and startApplication(). Referenced by slotRun(), and startApplication(). |
Member Data Documentation
|
Definition at line 77 of file bashsupport_part.h. Referenced by parse(), slotActivePartChanged(), and ~BashSupportPart(). |
|
Definition at line 78 of file bashsupport_part.h. Referenced by parse(). |
The documentation for this class was generated from the following files:
- languages/bash/bashsupport_part.h
- languages/bash/bashsupport_part.cpp