From 0bf899a5f8110fbea97272bdda03b68b91745e51 Mon Sep 17 00:00:00 2001 From: Yong He Date: Fri, 1 Jul 2022 15:09:24 -0700 Subject: Language server: auto completion of `import` file and directories. (#2312) * Language server: auto completion of `import` file and directories. * Completion of include path. * Improvements. Co-authored-by: Yong He --- source/core/slang-string.h | 1 + 1 file changed, 1 insertion(+) (limited to 'source/core/slang-string.h') diff --git a/source/core/slang-string.h b/source/core/slang-string.h index 59d441b76..69ca7e2c3 100644 --- a/source/core/slang-string.h +++ b/source/core/slang-string.h @@ -154,6 +154,7 @@ namespace Slang /// True if contents is a single char of c SLANG_FORCE_INLINE bool isChar(char c) const { return getLength() == 1 && m_begin[0] == c; } + bool startsWithCaseInsensitive(UnownedStringSlice const& other) const; bool startsWith(UnownedStringSlice const& other) const; bool startsWith(char const* str) const; -- cgit v1.2.3