Good morning! I was on Intellij Ultimate 2024.3 a ...
# intellij
m
Good morning! I was on Intellij Ultimate 2024.3 a few days ago, when I realized that scratch files didn't work anymore! I hadn't used the feature for some time, but then needed a Kotlin scratch to try something out quickly and I found out that the feature was broken for me. Here are the issues (with screenshots): • the issue happens only with .kts scratches • when I create a new Kotlin scratch and try to edit it says 'the view is read-only' • when I open an old scratch it's empty and says the 'the view is *read-only*' (ERO) -- the files can be read fine from the finder, with any editor or console and have content • if I open a scratch from recent files it's ERO • other file formats work fine (txt, json, etc) What I tried: • repair IDE • update to Intellij 2025.1 -- first through JB Toolbox, then installed from scratch • copying scratches from 2 versions before • checking the file and folder permissions in Finder and Terminal — they're fine • searching on Youtrack for related IDEA issues but didn't find anything Did anyone else encounter this problem? Do you have anything to suggest? Any hint is appreciated, it's really annoying not being able to use scratches anymore
👀 1
v
hi, let's assume you stayed on 251 could you kindly share the info about your IDE:
IntelIJIdea > About
? like this:
m
Sure just one moment... In addition I tried both with K2 on and off but it didn't change anything
Copy code
IntelliJ IDEA 2025.1 (Ultimate Edition)
Build #IU-251.23774.435, built on April 14, 2025
Source revision: 9b2a2c261c093
Licensed to Expedia, Inc.

Runtime version: 21.0.6+9-b895.109 aarch64 (JCEF 122.1.9)
VM: OpenJDK 64-Bit Server VM by JetBrains s.r.o.
Toolkit: sun.lwawt.macosx.LWCToolkit
macOS 15.4.1
Kotlin plugin: K2 mode
GC: G1 Young Generation, G1 Concurrent GC, G1 Old Generation
Memory: 4096M
Cores: 10
Metal Rendering is ON
Registry:
  debugger.new.tool.window.layout=true
  ide.experimental.ui=true
  jvm.dfa.analysis.ui.security.analysis.window.was.shown=true
Non-Bundled Plugins:
  detekt (2.4.3)
  com.pjialin.green-lite-theme (0.1.3)
  atom-one (1.5.1)
  com.github.pmkyl.retropcgreentheme (1.0.3)
  com.villains.intelij.plugin.newoceantheme (1.3.0)
  blue-light-theme (1.3.3)
  com.ultrahob.zerolength.plugin (0.95)
  com.codigrate.aurora-borealis.theme (1.0.21)
  com.daniel-espinoza.inline-error (0.4.0)
  com.c5inco.studiothemes.cloudyblue (1.0.2)
  io.github.anvell.dune-theme (2.0.5)
  com.github.lppedd.idea-conventional-commit (0.24.1)
  fantom.codeowners (0.9.0)
  io.karatelabs.intellij (2.2.0)
  com.zt.json-editor (2.9.1)
  name.kropp.intellij.makefile (251.23774.318)
  com.intellij.properties.bundle.editor (251.23774.318)
  com.arcticicestudio.nord.jetbrains (0.13.0)
  dev.thull.polar (1.0.5)
  com.codigrate.everest.theme (1.0.20)
  com.your.ltc.flatocean.id (2.9.4)
  com.intellij.mermaid (0.0.25+IJ.243)
  PlantUML integration (7.11.2-IJ2023.2)
  com.intellij.nativeDebug (251.23774.318)
  com.github.yunabraska.githubworkflowplugin (2025.0.0)
  net.seesharpsoft.intellij.plugins.csv (4.0.2)
  com.longforus.kotlincodesorter (1.2.2)
  com.godwin.kdocer (1.6)
  com.5peak2me.plugin.idea.gradle-version-catalogs-plugin (1.6.4)
  kotest-plugin-intellij (1.3.95-2025.1)
  org.norbye.tor.kdocformatter (1.6.7)
  com.intellij.lang.jsgraphql (251.23774.318)
  com.github.copilot (1.5.43-243)
  mobi.hsz.idea.gitignore (4.5.6)
  de.endrullis.idea.postfixtemplates (2.23.2.243)
Kotlin: 251.23774.435-IJ
👀 1
t
Out of curiosity is there a feature with scratches that notebooks don't give you? I pretty much stopped using them once notebooks became available.
m
I don't know...just habit I suppose. I've watched talks and demos on notebooks and they're very cool, but scratches are what I'm used to when I need to try something. I'll definitely explore notebooks, but I don't accept a feature breaking from one day to another in my IDE.
c
Scratch files are back in 2025.1.1
m
Nope, still broken for me. I've updated but the .kts scratches, those and only those, are broken as I described above.