Serving open street map vector tiles with elixir and phoenix
Elixir Wizards: Steve Domin on Innovating Travel APIs
IntelliJ Elixir v11.9.0
Changelog
Enhancements
-
Make plugin updatable without a restart when installing from the JetBrains Marketplace. (If installing from file on GitHub you still need to restart due to a limitation in the JetBrains API.). JetBrains refers to this as a Dynamic Plugin.
-
Convert
DepsWatcherfrom project component to project listener -
Convert
Watcherfrom module component to project listener - Make org.elixir_lang.packageManager extension point dynamic
-
Convert
-
Remove unnecessary
assert. -
Replace
ifwithwhen -
Include
asdtool version Prevent me screwing up the quoter cache using the wrong elixir version again. -
Update gradle project
-
gradlew6.7.1 -
org.jetbrains.intellij0.6.3 -
org.jetbrains.kotlin.jvm1.3.70 -
de.undercouch.downloadto4.4.1
-
- Update to GitHub Environment Files
-
Update CI to Elixir 1.11.2 and Erlang 23.1
-
Quoting (for verification of correspondences between plugin and Elixir native lexer and parser.)
-
Port elixir-lang/elixir#9725
- Indentations for sigil binaries with complex content. Makes sure the indentation metadata is added to sigils that have content with metadata already.
- Quote charlist the same as string when used for a quoted atom
- Port elixir-lang/elixir@e89e9d874bf803379d729a3bae185052a5323a85
-
Add sigil delimiter to metadata
Ports elixir-lang/elixir#9671
- Have 3 character delimiter for heredocs
-
Add
no_parens: truemetadata Port elixir-lang/elixir@8e7befb1087bd37d5acb883e21925b1c0eb0a55f
-
Port elixir-lang/elixir#9725
- Remove elixir-lang parsing tests for files that don’t exist in Elixir 1.11
-
Add missing
@Deprecatedto match overridden method - Format expected and actual quoted Makes the diff not be a one-liner. so easier to spot the difference.
-
Convert
Quoterto Kotlin - Regenerate Parser for newer GrammarParser version.
- Port elixir-lang/elixir@1e4e05ef78b3105065f0a313bd0e1e78b2aa973e
-
Quoting (for verification of correspondences between plugin and Elixir native lexer and parser.)
-
Rewrote the
DocumentationProviderso it no longer relies on invokingmix(which I admit was more like a hack than a real solution). This now works so quickly that it actually makes sense to show docs on mouse hover.- It can get the documentation from both the source code and decompiled .beam files.
- Decompilation of documentation was implemented according to EEP-48.
-
The experience on navigating through decompiled file has also been improved a bit
-
See the
@moduledocand@docs - See if a function has been deprecated
-
See the original signature of the function (instead of just
p0,p1, …).
-
See the
Bug Fixes
-
Fix deprecation warnings for IntelliJ IDEA 2020.2
-
Replace
fileTypeFactoryextensions withfileType -
Convert
fileTypes to Kotlin -
Replace uses of deprecated
Project#baseDir -
Replace uses of deprecated
ContainerUtil.newHashMap -
Replace
defaultLiveTemplatesProviderwithdefaultLiveTemplates -
spaceExistanceTypeBetweenTokensreplaced withspaceExistenceTypeBetweenTokens -
Replace
ListCellRendererWrapperwithSimpleListCellRenderer -
Replace
StdFileTypes.PLAIN_TEXTwithFileTypes.PLAIN_TEXT -
Replace
LanguageSubstitutors.INSTANCEwithgetInstance() -
Replace
ReportMessages.ERROR_REPORTwithReportMessages.getErrorReport() -
Replace
DefaultProgramRunnerwithGenericProgramRunner- Have only one runner for all configurations in plugin since body of runner was all the same for non-debug.
-
Don’t override deprecated
flushBufferBeforeTerminating() -
Don’t override deprecated
acceptsFile -
Override
initExtra(Project)instead ofinitExtra(Project, MessageBus, Engine) -
Replace
NamedFoldingDescriptorwithFoldingDescriptor-
Convert
folding.Builderto Kotlin
-
Convert
-
Replace
filewithvaluefor@Storageannotation -
Replace
checkBox(fieldName, title)withcheckBox(title, getter, setter) -
Replace
com.intellij.util.contains.Predicatewithjava.util.function.Predicate -
Replace
CodeStyleSettingsManagerwithCodeStyle -
Replace
Comparing.equalwithObjects.equals -
Replace
UsageType(String)withUsageType(Supplier) -
Replace
PluginManagerwithPluginManagerCore -
Replace
WakValueHashMapwithcreateWakeValueMap -
Don’t pass
PasstoLineMarkerInfo -
Replace
newArrayListWithCapacitywithArrayList -
Replace
newIdentityHashMapwithIdentityHashMap -
Replace
RefElement#elementwith#psiElement -
Pass
columnMargintosetupCheckboxColumn -
Extensions.getExtensions(name)->name.extensionList -
Extensions.findExtension->ExtensionPointName.findExtensionOrFail -
Object->Any -
Replace
choseAndSetSdkwithSdkPopupFactory
-
Replace
-
Fix error reporting formatting
- Fix new lines around excerpts so that code blocks quote correctly
- Use FILE:LINE format for excerpt location, so it can be used in editors for rapid lookup.
- Separate title from message
-
Remove use of
ErrorBean - Pass project for LevelPropertyPusher DumbModeTask
-
Don’t use constructor injection for
SetupSDKNotificationProvider -
Don’t use
AnnotationHolder::create*APIs and useAnnotationBuilderinstead.-
Convert
Annotators to Kotlin
-
Convert
-
Use
logger.errordirectly instead ofLogMessageEx
- Fix Atom annotator to only annotator within current element. Annotation keyword pair’s key and colon instead of annotating the keyword key and the colon outside of it.
-
Fix
Macroparsing inDbgI-
ifAccessToStringI missed taking the 3rd element of the tuple to get[Access, :get]and was checking the outer tuple directly.-
Convert
beam.assembly.ParserDefinitionto Kotlin
-
Convert
-
ifWhenToStringwhereasshould beas?
-
-
Suppress unused variables for
TODO()s -
Remove unnecessary
Linechunk dependency onAtomchunk -
Switch unused
unsignedIntvalues to_as Kotlin doesn’t support_name -
Use
keyinstead of environment forcomputeIfAbsent - Replace lambda with constructor reference
-
Remove unnecessary
!!s -
Replace
mapIndexedwithmapbecauseindexis unused -
Remove
openthat has no effect inobject -
Fix
isoverrides by converting to Kotlin -
Remove unused
CallfromImplementation.andCallDefinitionClause.elementDescription(Call, ElementDescriptionLocation). -
Don’t shadow
resolveResultListinaddToResolveResultList -
Remove useless
?: -
Remove unnecessary
!= null - Fix named argument calling by using super argument name
-
Change
Float.from(ByteArray, Int)toTODO()as implementation is invalid. -
Remove unused
ModuleChooserDialog -
Setup
EncodingManagerforParsingTestCase -
Remove redundant
internal - Don’t highlight resolved callables along with referrers Newest annotation API asserts that the annotator only annotates the PsiElement being visited, so can’t highlight the resolved call definitions at the same time anymore.
-
Differentiate signs, unary +/-, and addition/subtraction in lexer.
Fix parsing of
-1forcaseclauses (#1316) by more strictly parsing decimal exponent signs differently than addition/subtraction and differently from unary+and-. No longer have a “dual” operation emitted from the lexer like the Elixir native lexer and instead use specific tokens for each use case so that the parser doesn’t need to decide on the operation. - Heredoc with escapable newlines (#1843) Heredocs allow the final newline to be escaped so you can write a heredoc in the code, but have no newlines in the string term at runtime.
- Fix terminators docs to show closing version and not opening version
-
Protect against
IndexOutOfBoundsfromhighlighterIteratorinQuoteHandler.
Read next Elixir Wizards: Steve Domin on Innovating Travel APIs
