Disable Editing plugin for 1C:EDT

Add this URL to your Eclipse Installation to reach this solution's update site.

2021-03 (4.19), 2020-12 (4.18), 2020-09 (4.17), 2020-06 (4.16), 2020-03 (4.15), 2019-12 (4.14), 2019-09 (4.13), 2019-06 (4.12)

https://marmyshev.gitlab.io/edt-editing/update

2021-03 (4.19), 2020-12 (4.18), 2020-09 (4.17), 2020-06 (4.16), 2020-03 (4.15), 2019-12 (4.14), 2019-09 (4.13), 2019-06 (4.12)

https://marmyshev.gitlab.io/edt-editing/update

2021-03 (4.19), 2020-12 (4.18), 2020-09 (4.17), 2020-06 (4.16), 2020-03 (4.15), 2019-12 (4.14), 2019-09 (4.13), 2019-06 (4.12)

https://marmyshev.gitlab.io/edt-editing/update

Learn more...
Solution Description

Disable Editing plugin for 1C:EDT

Russian description goes after English

Русское описание идет после английского

Plugin for 1C:Enterprise Development Tools disables editing of 1C metadata objects in UI editors. Reach settings of blocked objects.

Historically developers used supplier's settings to enable editing of some metadata objects and the rest of objects keep disabled (aka supplied by Configuration vendor).

In new IDE 1C:EDT application develops more flexible and uses git for supplier-master branch workflow, initial supplier's settings now can be still used but give more tricks than more help. So most developers remove them from repository.

Developers want to protect themselves or their juniors from accidental editing some object that they didn't want to edit while exploring reach Configurations.

Disable Editing plugin developer set up some rules to make read-only mode in UI editors of 1C:EDT.

Main features

Set up rules to Disable editing (read-only mode) in editors:

  • specify subsystems which content objects are disabled to edit, hierarchy of subsystems is supported
  • specify project relative full path or folders which content is disabled to edit
  • specify full qualified names of 1C:Enterprise metadata objects (that stores in single file) that should be disabled in editors

Set up rules to Enable as exceptions from disable rules:

  • by subsystem
  • by project relative path to file or to folder
  • by full qualified name

Note! This plugin does not disables editing files via file system!

Attantion! Disabled object will be skipped from project validation by 1C:EDT.

Set up your project rules

Place Yaml file in your project settings folder: YourProjectName/.settings/editing.yml 

Demo example

Open 1C:EDT and import project from this repository EditingDemoConfig https://gitlab.com/marmyshev/edt-editing/-/tree/master/EditingDemoConfi… workspace.

Demo settings here. https://gitlab.com/marmyshev/edt-editing/-/blob/master/EditingDemoConfi…

Open metadata objects to check out disabling and enabling features!

Плагин запрета редактирования для 1C:EDT

Плагин для 1C:Enterprise Development Tools блокирует редактирование объектов метаданных 1С в редакторах в интерфейсе. Гибкие настройки блокируемых объектов.

Исторически, разработчики использовали настройки поддержки поставщика чтобы разрешить редактирование некоторых объектов метаданных, а остальные объекты оставить заблокированными (типа на поддержке поставщика Конфигурации).

В новой IDE 1C:EDT приложения разрабатываются гибче, в т.ч. используя Git для ветвления supplier-master, начальные настройки поставки можно при этом использовать, но добавляют сложности больше чем помощи. Поэтому большинство разработчиков удаляют настройки из репозитория.

Разрабочики желают защитить себя или более молодых коллег от случайного редактирования некоторых объектов, которые бы не хотели редактировать в процессе изучения больших Конфигураций.

В Плагине запрета редактирования разработчик настраивает некоторые правила, чтобы включить режим Только-просмотр в редакторах интерфейса 1C:EDT.

Основные возможности

Настройка правил блокировки ( Disable ) редактирования (режим Только-просмотр) в редакторах:

  • Указание подсистем, состав объектов которых заблокирован для редактирования, иерархия подсистем поддерживается
  • Указание относительно проекта полного пути к файлу или к каталогу, контент которых заблокирован для редактирования
  • Указание полного квалифицированного имени метаданного 1С:Предприятия (хранящиеся в отдельных файлах), которые должны быть заблокированы в редакторах

Настройка правила исключения ( Enable ) для разрешения редактирования:

  • по подсистеме
  • по пути к файлу или каталогу относительно проекта
  • по полному квалифицированному имени

Примечание! Этот плагин не блокирует редактирование файлов через файловую систему!

Внимание! Заблокированные объекты будут исключены из проверки (валидации) по проекту в 1C:EDT.

Настройка правил по проекту

Разместите Ямл файл с настройками в каталоге вашего проектта: YourProjectName/.settings/editing.yml 

Демо пример

Откройте 1C:EDT и импортируйте проект из этого репозитория EditingDemoConfig https://gitlab.com/marmyshev/edt-editing/-/tree/master/EditingDemoConfi… воркспейс.

Демо настройки здесь: https://gitlab.com/marmyshev/edt-editing/-/blob/master/EditingDemoConfi…

Откройте объекты метаданных чтобы исследовать функциональность блокировки и разрешения!

Categories: Collaboration

Additional Details

Eclipse Versions: 2021-03 (4.19), 2020-12 (4.18), 2020-09 (4.17), 2020-06 (4.16), 2020-03 (4.15), 2019-12 (4.14), 2019-09 (4.13), 2019-06 (4.12)

Platform Support: Windows, Mac, Linux/GTK

Development Status: Beta

Date Created: Saturday, June 13, 2020 - 15:27

License: EPL 2.0

Date Updated: Saturday, March 6, 2021 - 08:24

Submitted by: Dmitriy Marmyshev

Screenshot
Date Ranking Installs Clickthroughs
March 2024 518/651 5 1
February 2024 542/687 5 8
January 2024 422/691 16 4
December 2023 574/671 3 11
November 2023 550/686 5 11
October 2023 494/673 9 15
September 2023 562/663 4 10
August 2023 402/673 17 13
July 2023 479/668 8 12
June 2023 503/669 7 10
May 2023 609/671 2 10
April 2023 490/667 8 10
View Data for all Listings

Unsuccessful Installs

Unsuccessful Installs in the last 7 Days: 0

Download last 500 errors (CSV)

Marketplace Drag to Install Button

By adding the following code below to your website you will be able to add an install button for Disable Editing plugin for 1C:EDT.

HTML Code:

Markdown Syntax:

Output:

Drag to your running Eclipse* workspace. *Requires Eclipse Marketplace Client