[
https://issues.apache.org/jira/browse/HADOOP-17892?focusedWorklogId=649887&page=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-649887
]
ASF GitHub Bot logged work on HADOOP-17892:
-------------------------------------------
Author: ASF GitHub Bot
Created on: 13/Sep/21 09:27
Start Date: 13/Sep/21 09:27
Worklog Time Spent: 10m
Work Description: virajjasani commented on a change in pull request #3387:
URL: https://github.com/apache/hadoop/pull/3387#discussion_r707157829
##########
File path: dev-support/code-formatter/hadoop_idea_formatter.xml
##########
@@ -0,0 +1,76 @@
+<!--
+/**
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements. See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership. The ASF licenses this file
+ * to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance
+ * with the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+-->
+<code_scheme name="Hadoop" version="173">
+ <option name="RIGHT_MARGIN" value="80" />
Review comment:
I also thought that first but since the entire template is generated by
IntelliJ only, I searched for this difference and found that this one is
top/global level tag applicable to all: Java, XML, Python, Html etc, and the
one within `codeStyleSettings language="JAVA"` is for Java only.
Based on the definition provided
[here](https://www.jetbrains.com/help/idea/code-style-jspx.html#7af2e39d),
Right Margin: Use these settings to specify a margin space required on the
right side of an element. If you select Default option then a value of the
right margin from the [global
settings](https://www.jetbrains.com/help/idea/settings-code-style.html#rightMargin)
will be used.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]
Issue Time Tracking
-------------------
Worklog Id: (was: 649887)
Time Spent: 3h 40m (was: 3.5h)
> Add Hadoop code formatter in dev-support
> ----------------------------------------
>
> Key: HADOOP-17892
> URL: https://issues.apache.org/jira/browse/HADOOP-17892
> Project: Hadoop Common
> Issue Type: Task
> Reporter: Viraj Jasani
> Assignee: Viraj Jasani
> Priority: Major
> Labels: pull-request-available
> Time Spent: 3h 40m
> Remaining Estimate: 0h
>
> We should add Hadoop code formatter xml to dev-support specifically for new
> developers to refer to.
--
This message was sent by Atlassian Jira
(v8.3.4#803005)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]