Package org.eclipse.lsp4j
Class PositionEncodingKind
- java.lang.Object
-
- org.eclipse.lsp4j.PositionEncodingKind
-
public final class PositionEncodingKind extends java.lang.ObjectA set of predefined position encoding kinds indicating how positions are encoded, specifically what column offsets mean.Since 3.17.0
-
-
Field Detail
-
UTF8
public static final java.lang.String UTF8
Character offsets count UTF-8 code units.- See Also:
- Constant Field Values
-
UTF16
public static final java.lang.String UTF16
Character offsets count UTF-16 code units.This is the default and must always be supported by servers.
- See Also:
- Constant Field Values
-
UTF32
public static final java.lang.String UTF32
Character offsets count UTF-32 code units.Implementation note: these are the same as Unicode code points, so this kind may also be used for an encoding-agnostic representation of character offsets.
- See Also:
- Constant Field Values
-
-