René's URL Explorer Experiment


Title: IntelliJ plugin formats code between formatter off/on marker comments · Issue #215 · openjavaformat/open-java-format · GitHub

Open Graph Title: IntelliJ plugin formats code between formatter off/on marker comments · Issue #215 · openjavaformat/open-java-format

X Title: IntelliJ plugin formats code between formatter off/on marker comments · Issue #215 · openjavaformat/open-java-format

Description: Upstream: palantir#1303 Kind: bug | Priority: low palantir-java-format#1303 (open since May 2025) reports that the IntelliJ plugin reformats code wrapped in the IDE's "formatter off / formatter on" marker comments, even when that option ...

Open Graph Description: Upstream: palantir#1303 Kind: bug | Priority: low palantir-java-format#1303 (open since May 2025) reports that the IntelliJ plugin reformats code wrapped in the IDE's "formatter off / formatter on"...

X Description: Upstream: palantir#1303 Kind: bug | Priority: low palantir-java-format#1303 (open since May 2025) reports that the IntelliJ plugin reformats code wrapped in the IDE's "formatter off / form...

Opengraph URL: https://github.com/openjavaformat/open-java-format/issues/215

X: @github

direct link

Domain: github.com


Hey, it has json ld scripts:
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"IntelliJ plugin formats code between formatter off/on marker comments","articleBody":"**Upstream:** https://github.com/palantir/palantir-java-format/issues/1303  \n**Kind:** bug | **Priority:** low\n\n[palantir-java-format#1303](https://github.com/palantir/palantir-java-format/issues/1303) (open since May 2025) reports that the IntelliJ plugin reformats code wrapped in the IDE's \"formatter off / formatter on\" marker comments, even when that option is enabled in the IDE code-style settings. IntelliJ's own formatter honours the markers, so users who switch to the plugin lose a feature they relied on; the reporter's example is a long Spring Security builder chain that is meant to stay hand-laid-out. A new comment (2026-11-11) only points to how spring-javaformat documents the same use case.\n\nWhy it matters to us: our IDEA plugin is a fork of the same code. It registers as an external async formatting service, takes the formatting ranges from the IDE request and passes them straight to the formatter (see the range handling in `PalantirJavaFormatFormattingService`). I found no code in the plugin, or in the core formatter, that looks at marker comments or excludes the regions between them, so the same behaviour should apply to our users. Not verified by running the plugin.\n\nAffected files in our repo: `open-java-format-idea-plugin/src/main/java/com/palantir/javaformat/intellij/PalantirJavaFormatFormattingService.java` (range computation, `toRanges`), and possibly the core formatter in `open-java-format` if the exclusion is implemented there so that CLI, Gradle and native users benefit as well.\n\nExamples: not available - the issue gives only the input code and a description of the wrong result; it does not show what the formatter outputs, and the fix is not in the item.\n\nSuggested action: investigate. Reproduce with our plugin, then decide whether to subtract the marker regions from the requested ranges in the plugin (smallest change) or add marker support to the core formatter. Low priority: the upstream issue has no fix or linked PR, and a workaround exists (select ranges manually).\n\n---\n_Filed from an upstream-watch ticket after manual review._","author":{"url":"https://github.com/abashev","@type":"Person","name":"abashev"},"datePublished":"2026-11-12T12:01:25Z","url":"https://github.com/openjavaformat/open-java-format/issues/215"}

react-profiling0
react-import-mapreact,react-dom,react-dom/client,react-dom/profiling,react-is,react/compiler-runtime,react/jsx-dev-runtime,react/jsx-runtime,scheduler@b8488ee2c322
route-pattern/_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format)
route-controllervoltron_issues_fragments
route-actionissue_layout
fetch-noncev2:5dff035f-8592-af45-38ff-2d8f26f2eedb
current-catalog-service-hash81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114
request-id8A5E:3451AC:972F2:D20DF:6AFBB797
html-safe-noncec8d49245c8fb17616032984d2dc89f7ff36361ba8b473bf742661972d723f8d5
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI4QTVFOjM0NTFBQzo5NzJGMjpEMjBERjo2QUZCQjc5NyIsInZpc2l0b3JfaWQiOiIyNDUzNTIwMzk3NzE1MDkzNDAwIiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0=
visitor-hmacefe47f304e605a20943522c40b2cc29af869b1c972f94e02158a9346fe31abe8
hovercard-subject-tagissue:6349345980
github-keyboard-shortcutsrepository,issues,copilot
google-site-verificationApib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I
octolytics-urlhttps://collector.github.com/github/collect
analytics-location///voltron/issues_fragments/issue_layout
fb:app_id1401488693436528
apple-itunes-appapp-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/openjavaformat/open-java-format/215/issue_layout
twitter:imagehttps://opengraph.githubassets.com/57194bb41e37ecdbaa186b5dc2778395e1bda74430ec2baea79d0d660ded0310/openjavaformat/open-java-format/issues/215
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/57194bb41e37ecdbaa186b5dc2778395e1bda74430ec2baea79d0d660ded0310/openjavaformat/open-java-format/issues/215
og:image:altUpstream: palantir#1303 Kind: bug | Priority: low palantir-java-format#1303 (open since May 2025) reports that the IntelliJ plugin reformats code wrapped in the IDE's "formatter off / formatter on"...
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernameabashev
hostnamegithub.com
expected-hostnamegithub.com
None2b2ef9c1578c18d8ed27027940544c958743213cf4461659f14d3ccdf51e162c
turbo-cache-controlno-preview
go-importgithub.com/openjavaformat/open-java-format git https://github.com/openjavaformat/open-java-format.git
octolytics-dimension-user_id325177626
octolytics-dimension-user_loginopenjavaformat
octolytics-dimension-repository_id1288055459
octolytics-dimension-repository_nwoopenjavaformat/open-java-format
octolytics-dimension-repository_publictrue
octolytics-dimension-repository_is_forktrue
octolytics-dimension-repository_parent_id214273098
octolytics-dimension-repository_parent_nwopalantir/palantir-java-format
octolytics-dimension-repository_network_root_id214273098
octolytics-dimension-repository_network_root_nwopalantir/palantir-java-format
turbo-body-classeslogged-out env-production page-responsive
disable-turbofalse
browser-stats-urlhttps://api.github.com/_private/browser/stats
browser-errors-urlhttps://api.github.com/_private/browser/errors
releasee4cce0e99cf61481a318ff12c2e8580153a6c7c6
ui-targetfull
theme-color#1e2327
color-schemelight dark
react-app-nameissues

Links:

Skip to contenthttps://github.com/openjavaformat/open-java-format/issues/215#start-of-content
https://github.com/
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fopenjavaformat%2Fopen-java-format%2Fissues%2F215
GitHubRepository hosting, code review, and collaborationhttps://github.com/platform
CopilotAI coding agent for tasks, projects, and automated workhttps://github.com/features/copilot
ActionsCI/CD and automationhttps://github.com/features/actions
Code QualityQuality analysis, fixes, and enforcementhttps://github.com/features/code-quality
CodespacesCloud development environmentshttps://github.com/features/codespaces
Code SecurityVulnerability detection and remediationhttps://github.com/security/advanced-security/code-security
Secret ProtectionSecret scanning and leak preventionhttps://github.com/security/advanced-security/secret-protection
All Featureshttps://github.com/features
Documentationhttps://docs.github.com/en
Traininghttps://learn.github.com/skills
Certificationshttps://learn.github.com/credentials
Build with Copilothttps://github.com/features/ai
Customize Copilothttps://docs.github.com/en/copilot/how-tos/copilot-on-github/customize-copilot/customize-copilot-overview
Integrationshttps://github.com/marketplace
Trending reposhttps://github.com/trending
GitHub Sponsorshttps://github.com/open-source/sponsors
Developer articleshttps://github.com/resources/articles
ChangelogYour source for the latest features, improvements, and fixes across GitHub products, all in one place.https://github.blog/changelog/
Enterpriseshttps://github.com/enterprise
Teamhttps://github.com/team
Startupshttps://github.com/enterprise/startups
Nonprofitshttps://github.com/solutions/industry/nonprofits
Healthcarehttps://github.com/solutions/industry/healthcare
Financial serviceshttps://github.com/solutions/industry/financial-services
Manufacturinghttps://github.com/solutions/industry/manufacturing
Governmenthttps://github.com/solutions/industry/government
See all industrieshttps://github.com/solutions/industry
Why GitHubhttps://github.com/why-github
Customer Storieshttps://github.com/customer-stories
Business insightshttps://github.com/solutions/executive-insights
Trust Centerhttps://github.com/trust-center
GitHub Advanced SecurityEnterprise-grade code securityhttps://github.com/security/advanced-security
Copilot for businessEnterprise-grade AI featureshttps://github.com/features/copilot/copilot-business
Premium SupportEnterprise-grade 24/7 supporthttps://github.com/enterprise/premium-support
Documentationhttps://docs.github.com/en
Resource centerhttps://github.com/resources
Bloghttps://github.blog/
Events & webinarshttps://github.com/resources/events
Community Forumhttps://github.com/orgs/community/discussions
Customer Storieshttps://github.com/customer-stories
Integrationshttps://github.com/marketplace
Customer supporthttps://help.github.com/
Traininghttps://learn.github.com/skills
GitHub Statushttps://www.githubstatus.com/
Abouthttps://github.com/about
Partnershttps://github.com/partners
Changeloghttps://github.blog/changelog/
GitHub UniverseThe event for developers, by developers — talks, workshops, and what’s next for GitHub.https://githubuniverse.com/
Pricinghttps://github.com/pricing
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fopenjavaformat%2Fopen-java-format%2Fissues%2F215
Sign uphttps://github.com/signup?ref_cta=Sign+up&ref_loc=header+logged+out&ref_page=%2F%3Cuser-name%3E%2F%3Crepo-name%3E%2Fvoltron%2Fissues_fragments%2Fissue_layout&source=header-repo&source_repo=openjavaformat%2Fopen-java-format
Reloadhttps://github.com/openjavaformat/open-java-format/issues/215
Reloadhttps://github.com/openjavaformat/open-java-format/issues/215
Reloadhttps://github.com/openjavaformat/open-java-format/issues/215
openjavaformathttps://github.com/openjavaformat
open-java-formathttps://github.com/openjavaformat/open-java-format
Codehttps://github.com/openjavaformat/open-java-format
Issues30 (30)https://github.com/openjavaformat/open-java-format/issues
Pull requests5 (5)https://github.com/openjavaformat/open-java-format/pulls
Discussionshttps://github.com/openjavaformat/open-java-format/discussions
Actionshttps://github.com/openjavaformat/open-java-format/actions
Security and qualityhttps://github.com/openjavaformat/open-java-format/security
Insightshttps://github.com/openjavaformat/open-java-format/pulse
https://github.com/openjavaformat/open-java-format
New issuehttps://github.com/login?return_to=https://github.com/openjavaformat/open-java-format/issues/215
New issuehttps://github.com/login?return_to=https://github.com/openjavaformat/open-java-format/issues/215
IntelliJ plugin formats code between formatter off/on marker commentshttps://github.com/openjavaformat/open-java-format/issues/215#top
https://github.com/abashev
abashevhttps://github.com/abashev
on Nov 12, 2026https://github.com/openjavaformat/open-java-format/issues/215#issue-6349345980
palantir#1303https://github.com/palantir/palantir-java-format/issues/1303
palantir-java-format#1303https://github.com/palantir/palantir-java-format/issues/1303
Sign up for freehttps://github.com/signup?return_to=https://github.com/openjavaformat/open-java-format/issues/215
Sign in to commenthttps://github.com/login?return_to=https://github.com/openjavaformat/open-java-format/issues/215
https://github.com
Termshttps://docs.github.com/site-policy/github-terms/github-terms-of-service
Privacyhttps://docs.github.com/site-policy/privacy-policies/github-privacy-statement
Securityhttps://github.com/security
Statushttps://www.githubstatus.com/
Communityhttps://github.community/
Docshttps://docs.github.com/
Contacthttps://support.github.com?tags=dotcom-footer

Viewport: width=device-width


URLs of crawlers that visited me.