How to add intellij community edition to right click menu on win 11

How can one add intellij cpmmunity edition to right click menu on win 11? Copy below code to a bat file and run it in CMD as administrator, before running this command just test from win+r shortcode and paste %USERPROFILE%\AppData\Local\Programs\IntelliJ IDEA Community Edition\bin\idea64.exeand see if this runs the intellj @echo off setlocal enabledelayedexpansion :: Set the path to your IntelliJ executable using %USERPROFILE% set "INTELLIJ_PATH=%USERPROFILE%\AppData\Local\Programs\IntelliJ IDEA Community Edition\bin\idea64.exe" :: Check if running with admin privileges net session >nul 2>&1 if %errorLevel% neq 0 ( echo This script requires administrator privileges. echo Please run it as an administrator. pause exit /b 1 ) :: Add IntelliJ to context menu reg add "HKEY_CLASSES_ROOT\Directory\Background\shell\IntelliJ" /ve /d "Open with IntelliJ" /f reg add "HKEY_CLASSES_ROOT\Directory\Background\shell\IntelliJ\command" /ve /d "\"%INTELLIJ_PATH%\" \"%%V\"" /f reg add "HKEY_CLASSES_ROOT\Directory\Background\shell\IntelliJ" /v "Icon" /d "%INTELLIJ_PATH%" /f echo IntelliJ has been added to the context menu. echo Please restart File Explorer or your PC for changes to take effect. pause

October 11, 2024 · 1 min · Özkan Pakdil

How to publish JetBrains Rider plugin for opentelemetry/honeycomb

I had the chance to work with honeycomb.io 2 weeks ago, mainly I was changing the code which sends data too appinsights azre now needed to send data to honeycomb too. It was not too complex but it is hard to catch those log lines and make sure if we called the endpoint correctly and what data we sent. There is wonderful plugin for that for appinsights https://github.com/Socolin/ApplicationInsightsRiderPlugin but there was no plugin whcih can show opentelemetry calls, yes honeycomb.io uses OTEL protocol meaning opentelemetry which is kind of industry standard now for observability. ...

October 6, 2024 · 2 min · Özkan Pakdil

How to collect dmp files in dotnet

I was reading a DMP file to investigate customer issue where they have been having high CPU issues after latest upgrade. I read the dmp with windbg then vs.net analyze and both times I saw CLR GC(garbage collection and BGC) was eating up all the CPU and I must say VS.NET analyze is really nice, it shows who is eating up the CPU very easily, only problem it may crash sometimes, the dmp file size was around 9GB that maybe the reason I do not know. ...

September 12, 2024 · 2 min · Özkan Pakdil

How to build spring boot native binary

In short I am explaining why we should use ./mvnw -Pnative native:compile and what error comes otherwise and why. I was preparing this answer. And I was having problem with the class not found errors while building because I was using this command ./mvnw native:compile ... Error: Please specify class (or <module>/<mainclass>) containing the main entry point method. (see --help) [INFO] ------------------------------------------------------------------------ [INFO] BUILD FAILURE [INFO] ------------------------------------------------------------------------ [INFO] Total time: 3.448 s [INFO] Finished at: 2024-09-01T21:24:32+01:00 [INFO] ------------------------------------------------------------------------ [ERROR] Failed to execute goal org.graalvm.buildtools:native-maven-plugin:0.10.2:compile (default-cli) on project env-variables: Execution of C:\sdkman\candidates\java\21.0.2-graal\bin\native-image.cmd @target\tmp\native-image-2373453772169200185.args returned non-zero result -> [Help 1] [ERROR] Then remembered the profile thing and finally get rid of this error, used below command ...

September 1, 2024 · 1 min · Özkan Pakdil

Rider Testimonial

I used eclipse 10 years and moved to IntelliJ in 2017 since then no turning back, a true Java IDE, perfect refactoring also any editing capabilities, and in 2024 I moved to Redgate Monitor and C# after 18 years of Java I was scared but thanks to JetBrains Rider, when I open the Rider it asked me what shortcut set do I choose, and there was IntelliJ option, I chose it and jumped into the code and adoption time was incredible, in days I understand how is the structure (over 180 projects under multiple solution and thousands of classes/files) and started contributing the project. ...

July 31, 2024 · 2 min · Özkan Pakdil