Options
Compiler settings can be found under Options tab.
Common options
Text Encoding
Source file text encoding. Default is utf-8
.
Languague Version
Compiler language version. Default is Latest
.
Report Diagnostic
General diagnostic level. This filters compiler logs by level in Console. Default is Default
.
Optimization Level
Optimization Level. Default is Release
.
Nullable Context
Set nullable context or nullable warnings. Default is Disable
.
Overflow Check
Generate overflow checks. Default is unchecked.
Allow Unsafe
Allow "unsafe" code. Default is unchecked.
Deterministic
Produce byte-for-byte equivalent output from the same input source. Default is unchecked.
Warning Level
Warning Level. Default is 0
.
References
List of referenced assemblies. If you need to add or override default references, check References Extension.
Symbols
List of predefined processors. If you need to add or override default symbols, check Symbols Extension.
Customizing Compiler Options
If you find yourself in need of less-common compiler options such as "codepage" or "reference alias", you'll need to create a custom extension to patch that. For detailed instructions on creating extensions, refer to Extension Development guide.
Additional Resources
For a comprehensive list of compiler options, you can visit Microsoft's official documentation↗ and Roslyn Compiler Options↗.