Qt 6.x
The Qt SDK
Loading...
Searching...
No Matches
QmlLsp Namespace Reference

Classes

struct  LastLintUpdate
 
class  OpenDocument
 
class  OpenDocumentSnapshot
 
class  QmlLintSuggestions
 
class  QQmlCodeModel
 
class  QQmlLanguageServer
 Sets up a QmlLanguageServer. More...
 
struct  ToIndex
 

Functions

static bool isNotSeparator (char c)
 
static DiagnosticSeverity severityFromMsgType (QtMsgType t)
 
static void codeActionHandler (const QByteArray &, const CodeActionParams &params, LSPPartialResponse< std::variant< QList< std::variant< Command, CodeAction > >, std::nullptr_t >, QList< std::variant< Command, CodeAction > > > &&response)
 

Function Documentation

◆ codeActionHandler()

static void QmlLsp::codeActionHandler ( const QByteArray ,
const CodeActionParams &  params,
LSPPartialResponse< std::variant< QList< std::variant< Command, CodeAction > >, std::nullptr_t >, QList< std::variant< Command, CodeAction > > > &&  response 
)
static

Definition at line 38 of file qqmllintsuggestions.cpp.

References QByteArray::append(), QList< T >::append(), codeActionHandler(), QList< T >::data(), edit, textEdit, and QString::toUtf8().

Referenced by codeActionHandler(), and QmlLsp::QmlLintSuggestions::registerHandlers().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ isNotSeparator()

static bool QmlLsp::isNotSeparator ( char  c)
static

Definition at line 524 of file qqmlcodemodel.cpp.

Referenced by QmlLsp::QQmlCodeModel::buildPathsForFileUrl(), and QmlLsp::QQmlCodeModel::setBuildPathsForRootUrl().

+ Here is the caller graph for this function:

◆ severityFromMsgType()

static DiagnosticSeverity QmlLsp::severityFromMsgType ( QtMsgType  t)
static

Definition at line 22 of file qqmllintsuggestions.cpp.

References QtCriticalMsg, QtDebugMsg, QtFatalMsg, QtInfoMsg, QtWarningMsg, and severityFromMsgType().

Referenced by QmlLsp::QmlLintSuggestions::diagnose(), and severityFromMsgType().

+ Here is the call graph for this function:
+ Here is the caller graph for this function: